[Haskell] proposal about declaring language version andlanguage extensions used in specific module

Bulat Ziganshin bulatz at HotPOP.com
Wed Aug 10 12:49:12 EDT 2005


Hello Simon,

Wednesday, August 10, 2005, 6:27:45 PM, you wrote:
SM> The language declaration affects the grammar of the language, and even
SM> whether the source is preprocessed or not, so you can't put the
SM> declaration into the language itself. {-# LANGUAGE #-} is the right
SM> thing (and we should implement it in GHC, really).

yes, you are right in both statements ;) my variant can be interesting
only for Haskell 2.0, if we will need to break compatibility anyway


-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell mailing list