cvs commit: fptools/ghc/compiler/basicTypes DataCon.lhs fptools/ghc/compiler/iface BinIface.hs BuildTyCl.lhs IfaceSyn.lhs LoadIface.lhs MkIface.lhs TcIface.lhs fptools/ghc/compiler/parser RdrHsSyn.lhs fptools/ghc/compiler/prelude TysWiredIn.lhs fptools/ghc/compiler/typecheck ...

Simon Peyton Jones simonpj at glass.cse.ogi.edu
Wed Jun 2 04:25:17 EDT 2004


simonpj     2004/06/02 01:25:17 PDT

  Modified files:
    ghc/compiler/basicTypes DataCon.lhs 
    ghc/compiler/iface   BinIface.hs BuildTyCl.lhs IfaceSyn.lhs 
                         LoadIface.lhs MkIface.lhs TcIface.lhs 
    ghc/compiler/parser  RdrHsSyn.lhs 
    ghc/compiler/prelude TysWiredIn.lhs 
    ghc/compiler/typecheck TcGenDeriv.lhs TcRnDriver.lhs 
                           TcSplice.lhs TcTyClsDecls.lhs 
  Log:
  	-----------------------------------------------
         Record whether data constructors are declared infix
  	-----------------------------------------------
  
  This allows us to generate the InfixC form in Template Hasekll.
  And for 'deriving' Read and Show, we now read and parse the infix
  form iff the constructor was declared infix, rather than just if
  it does not have the default fixity (as before).
  
  IfaceSyn changes slightly, so that IfaceConDecl can record their
  fixity, so there are trivial changes scattered about, and
  you'll need to recompile everything.
  
  In TysWiredIn I took the opportunity to simplify pcDataCon slightly,
  by eliminating the unused Theta argument.
  
  Revision  Changes    Path
  1.46      +12 -4     fptools/ghc/compiler/basicTypes/DataCon.lhs
  1.6       +4 -2      fptools/ghc/compiler/iface/BinIface.hs
  1.4       +21 -19    fptools/ghc/compiler/iface/BuildTyCl.lhs
  1.8       +8 -5      fptools/ghc/compiler/iface/IfaceSyn.lhs
  1.12      +1 -1      fptools/ghc/compiler/iface/LoadIface.lhs
  1.13      +1 -1      fptools/ghc/compiler/iface/MkIface.lhs
  1.22      +2 -2      fptools/ghc/compiler/iface/TcIface.lhs
  1.71      +5 -5      fptools/ghc/compiler/parser/RdrHsSyn.lhs
  1.92      +21 -17    fptools/ghc/compiler/prelude/TysWiredIn.lhs
  1.112     +19 -13    fptools/ghc/compiler/typecheck/TcGenDeriv.lhs
  1.73      +2 -2      fptools/ghc/compiler/typecheck/TcRnDriver.lhs
  1.38      +12 -5     fptools/ghc/compiler/typecheck/TcSplice.lhs
  1.108     +6 -6      fptools/ghc/compiler/typecheck/TcTyClsDecls.lhs


More information about the Cvs-ghc mailing list