cvs commit: fptools/libraries/haskell-src/Language/Haskell/TH
Lib.hs PprLib.hs
Ppr.hs Syntax.hs THLib.hs THSyntax.hs fptools/ghc/compiler/deSugar
DsMeta.hs fptools/ghc/compiler/hsSyn Convert.lhs
fptools/libraries/haskell-src/Language/Haskell ...
Ian Lynagh
igloo at glass.cse.ogi.edu
Sat Jan 3 17:48:07 EST 2004
igloo 2004/01/03 17:48:07 PST
Modified files:
ghc/compiler/deSugar DsMeta.hs
ghc/compiler/hsSyn Convert.lhs
ghc/compiler/typecheck TcSplice.lhs
libraries/haskell-src/Language/Haskell TH.hs
libraries/haskell-src/hugs exclude
Added files:
libraries/haskell-src/Language/Haskell/TH Lib.hs PprLib.hs
Ppr.hs Syntax.hs
Removed files:
libraries/haskell-src/Language/Haskell/TH THLib.hs THSyntax.hs
Log:
Split the pretty-printer out - pprint will now give you pretty much
anything you are likely to want to pretty-print as a String. For a Doc
you need (to_HPJ_Doc . ppr), which could be made nicer if it is widely
used.
Also took the opportunity to do a bit of module renaming and fixed the
odd typo here and there.
Revision Changes Path
1.51 +6 -6 fptools/ghc/compiler/deSugar/DsMeta.hs
1.44 +2 -2 fptools/ghc/compiler/hsSyn/Convert.lhs
1.34 +2 -2 fptools/ghc/compiler/typecheck/TcSplice.lhs
1.3 +6 -4 fptools/libraries/haskell-src/Language/Haskell/TH.hs
1.3 +4 -2 fptools/libraries/haskell-src/hugs/exclude
More information about the Cvs-ghc
mailing list