projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09628ee
)
Fixed error in user's manual, gadt section, part about deriving. Data constructor...
author
bringert@cs.chalmers.se
<unknown>
Fri, 15 Sep 2006 23:05:17 +0000
(23:05 +0000)
committer
bringert@cs.chalmers.se
<unknown>
Fri, 15 Sep 2006 23:05:17 +0000
(23:05 +0000)
docs/users_guide/glasgow_exts.xml
patch
|
blob
|
history
diff --git
a/docs/users_guide/glasgow_exts.xml
b/docs/users_guide/glasgow_exts.xml
index
7e08583
..
0ca2a53
100644
(file)
--- a/
docs/users_guide/glasgow_exts.xml
+++ b/
docs/users_guide/glasgow_exts.xml
@@
-3903,8
+3903,8
@@
declaration, but only if the data type could also have been declared in
Haskell-98 syntax. For example, these two declarations are equivalent
<programlisting>
data Maybe1 a where {
- Nothing1 :: Maybe a ;
- Just1 :: a -> Maybe a
+ Nothing1 :: Maybe1 a ;
+ Just1 :: a -> Maybe1 a
} deriving( Eq, Ord )
data Maybe2 a = Nothing2 | Just2 a