[project @ 2003-12-10 17:25:12 by simonmar]
authorsimonmar <unknown>
Wed, 10 Dec 2003 17:25:18 +0000 (17:25 +0000)
committersimonmar <unknown>
Wed, 10 Dec 2003 17:25:18 +0000 (17:25 +0000)
commitc7b389309e5cdc86db9845573900b560c7a2fa05
tree9da3cc78bd08032c869e65ccbc94bc32d2df2163
parent49fabae45e348e93d25064e469dc777eb3bfc56d
[project @ 2003-12-10 17:25:12 by simonmar]
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.
ghc/compiler/hsSyn/HsBinds.lhs
ghc/compiler/hsSyn/HsSyn.lhs
ghc/compiler/hsSyn/HsUtils.lhs
ghc/compiler/parser/Parser.y.pp
ghc/compiler/parser/RdrHsSyn.lhs
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/rename/RnNames.lhs
ghc/compiler/typecheck/TcRnDriver.lhs