[Template-haskell] TH Module names

Tomasz Zielonka t.zielonka at students.mimuw.edu.pl
Fri Nov 21 00:28:29 EST 2003


Hello!

How about renaming
    Language.Haskell.THSyntax
to
    Language.Haskell.TH.Syntax

Then we could split this module into smaller ones, like:

    Language.Haskell.TH.Syntax
    Language.Haskell.TH.Pretty
    Language.Haskell.TH.UsefulHelperFunction (or something shorter)
    ...

I think it is nicer and would be helpful when experimenting in GHCi.
With the current big module when I do 
    :browse Language.Haskell.THSyntax
I get 7 screens of declarations (would be 9 screens on 25 line
terminal).

Of course you can keep the old module and reimport the new modules from
it.

Best regards,
Tom

PS. TH saved me a big amount of tedious, bug-prone work. Thanks! :)

-- 
.signature: Too many levels of symbolic links


More information about the template-haskell mailing list