Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
65e6470c
Commit
65e6470c
authored
Oct 03, 2012
by
Simon Peyton Jones
Browse files
Merge branch 'master' of
http://darcs.haskell.org/ghc
parents
ba56d20d
3b980d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/glasgow_exts.xml
View file @
65e6470c
...
...
@@ -3726,7 +3726,7 @@ We reuse the keyword <literal>default</literal> to signal that a signature
applies to the default method only; when defining instances of the
<literal>
Enum
</literal>
class, the original type
<literal>
[a]
</literal>
of
<literal>
enum
</literal>
still applies. When giving an empty instance, however,
the default implementation
<literal>
map to
0
genum
</literal>
is filled-in,
the default implementation
<literal>
map to genum
</literal>
is filled-in,
and type-checked with the type
<literal>
(Generic a, GEnum (Rep a)) => [a]
</literal>
.
</para>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment