cvs commit: fptools/ghc/compiler/parser Parser.y.pp fptools/ghc/compiler/typecheck TcDeriv.lhs fptools/ghc/docs/users_guide glasgow_exts.xml

Simon Peyton Jones simonpj at haskell.org
Thu Jul 21 07:05:28 EDT 2005


simonpj     2005/07/21 04:05:27 PDT

  Modified files:
    ghc/compiler/parser  Parser.y.pp 
    ghc/compiler/typecheck TcDeriv.lhs 
    ghc/docs/users_guide glasgow_exts.xml 
  Log:
  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.
  
  Revision  Changes    Path
  1.32      +4 -2      fptools/ghc/compiler/parser/Parser.y.pp
  1.145     +1 -1      fptools/ghc/compiler/typecheck/TcDeriv.lhs
  1.27      +21 -3     fptools/ghc/docs/users_guide/glasgow_exts.xml


More information about the Cvs-ghc mailing list