cvs commit: fptools/ghc/compiler/hsSyn HsBinds.lhs HsSyn.lhs HsUtils.lhs fptools/ghc/compiler/parser Parser.y.pp RdrHsSyn.lhs fptools/ghc/compiler/rename RnNames.lhs fptools/ghc/compiler/typecheck TcRnDriver.lhs

Simon Marlow simonmar at glass.cse.ogi.edu
Wed Dec 10 09:25:18 EST 2003


simonmar    2003/12/10 09:25:18 PST

  Modified files:
    ghc/compiler/hsSyn   HsBinds.lhs HsSyn.lhs HsUtils.lhs 
    ghc/compiler/parser  Parser.y.pp RdrHsSyn.lhs 
    ghc/compiler/prelude PrelNames.lhs 
    ghc/compiler/rename  RnNames.lhs 
    ghc/compiler/typecheck TcRnDriver.lhs 
  Log:
  Cleanups:
  
  - Move the collect* functions from HsSyn into HsUtils.  Check that we
    have a clean separation of utilties over HsSyn, with the generic
    versions in HsUtils, and the specific versions in RdrHsSyn, RnHsSyn
    and TcHsSyn as appropriate.
  
  - Remove the RdrBinding data type, which was really just a nested list
    with O(1) append, and use OrdList instead.  This makes it much clearer
    that there's nothing strange going on.
  
  - Various other minor cleanups.
  
  Revision  Changes    Path
  1.72      +0 -3      fptools/ghc/compiler/hsSyn/HsBinds.lhs
  1.45      +0 -91     fptools/ghc/compiler/hsSyn/HsSyn.lhs
  1.2       +108 -7    fptools/ghc/compiler/hsSyn/HsUtils.lhs
  1.2       +43 -40    fptools/ghc/compiler/parser/Parser.y.pp
  1.62      +27 -74    fptools/ghc/compiler/parser/RdrHsSyn.lhs
  1.85      +5 -3      fptools/ghc/compiler/prelude/PrelNames.lhs
  1.154     +3 -3      fptools/ghc/compiler/rename/RnNames.lhs
  1.55      +7 -5      fptools/ghc/compiler/typecheck/TcRnDriver.lhs


More information about the Cvs-ghc mailing list