[project @ 2005-07-21 11:05:26 by simonpj]
authorsimonpj <unknown>
Thu, 21 Jul 2005 11:05:27 +0000 (11:05 +0000)
committersimonpj <unknown>
Thu, 21 Jul 2005 11:05:27 +0000 (11:05 +0000)
commit5973d067b3f8e43d7dd336a634f31ab61a1a133f
treecf6b3306f3f204d8bfb87ec3ac37da46427ed1d7
parenta28ce0541a45600b18dfe5e47e28870a81dd497b
[project @ 2005-07-21 11:05:26 by simonpj]
Arrange that a 'deriving' clause works for a GADT-syntax
data type delaration, provided it declares a Haskell-98-style
data type (i.e. no existentials or GADT stuff).

This just allows you to use a different syntax for data type
declarations without losing 'deriving'. A couple of people requested
this, and it's really easy to do.
ghc/compiler/parser/Parser.y.pp
ghc/compiler/typecheck/TcDeriv.lhs
ghc/docs/users_guide/glasgow_exts.xml