RE: [Template-haskell] TH Module names
Yes, in the HEAD it's already spit into Language.Haskell.TH Language.Haskell.TH.THSyntax Language.Haskell.TH.THLib Perhaps I should change "THSyntax" to "Syntax" and similarly for Lib. Seems like a good plan. At the moment, Lib contains the pretty printer, but maybe I should split that off too. Does anyone else have opinions about this? Simon | -----Original Message----- | From: template-haskell-bounces@haskell.org [mailto:template-haskell-bounces@haskell.org] On | Behalf Of Tomasz Zielonka | Sent: 20 November 2003 23:28 | To: template-haskell@haskell.org | Subject: [Template-haskell] TH Module names | | 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 | _______________________________________________ | template-haskell mailing list | template-haskell@haskell.org | http://www.haskell.org/mailman/listinfo/template-haskell
participants (1)
-
Simon Peyton-Jones