cvs commit: fptools/ghc/compiler/parser Parser.y

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Mon, 22 Oct 2001 02:37:24 -0700


simonpj     2001/10/22 02:37:24 PDT

  Modified files:
    ghc/compiler/parser  Parser.y 
  Log:
  	------------------------------------
  	Allow foralls in newtype-with-record
  	------------------------------------
  
  	MERGE WITH STABLE BRANCH
  
  A simple fix to a longstanding omission.  The parser rejected
  
   newtype CPS a = CPS { unCPS :: forall ans . (a -> ans) -> ans }
  
  because the production for "newconstr" said "type" instead of "ctype".
  
  Revision  Changes    Path
  1.75      +2 -2      fptools/ghc/compiler/parser/Parser.y