[Haskell-cafe] Cyclic Inclusions

Don Stewart dons at galois.com
Mon Aug 11 17:07:00 EDT 2008

> Hi,
> I have a question about cyclic inclusions. It appears in the Haskell 98
> report that mutually recursive modules are allowed, however GHC complains
> at any Haskell project that has cyclic inclusions (implicit or explicit).
> Am I right in thinking that this is a GHC limitation?
> http://www.haskell.org/onlinereport/modules.html

GHC provides a mechanism to support mutually recursive modules, but
you  must break the cycle manually, via a boot file.


More information about the Haskell-Cafe mailing list