[Haskell-cafe] Mutual recursive modules with GHC: Classes,
instances
Simon Peyton-Jones
simonpj at microsoft.com
Wed May 4 05:32:39 EDT 2005
I'm afraid so, as of today. It's the kind of thing that could get fixed
if enough people wanted it, but at the moment it's pretty low on the
list.
Simon
| -----Original Message-----
| From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of
| Henning Thielemann
| Sent: 04 May 2005 10:31
| To: Simon Peyton-Jones
| Cc: Haskell Cafe
| Subject: RE: [Haskell-cafe] Mutual recursive modules with GHC:
Classes,instances
|
|
| 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?
| _______________________________________________
| Haskell-Cafe mailing list
| Haskell-Cafe at haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list