[Haskell-cafe] Mutual recursive modules with GHC: Classes, instances

Henning Thielemann lemming at henning-thielemann.de
Wed May 4 05:30:40 EDT 2005


On Wed, 4 May 2005, Simon Peyton-Jones wrote:

> hi-boot files can't contain class declarations.  This should be checked,
> but isn't, hence puzzling message.
>
> GHC 6.4 has a better setup.   Actually, it still doesn't check for
> absence of class decls, but it will shortly.

This means it is impossible to declare mutually dependent classes where 
each class resides in a separate module?


More information about the Haskell-Cafe mailing list