[Haskell] (GHC) Boot files and instance declarations

David House dmhouse at gmail.com
Tue May 2 16:36:04 EDT 2006


Hi all. A quick bootfiles question.

The GHC docs specify not to put instance decls in bootfiles. However,
what if i need to? For example, say I have a module A where I'm
importing a module B with the {-# SOURCE #-} pragma. Module A needs to
know that the types in module B are instances of some typeclasses
(instance declarations for which are given in module B). How would I
manage this?

Thanks in advance.

--
-David House, dmhouse at gmail.com, http://xmouse.ithium.net


More information about the Haskell mailing list