[Haskell-cafe] Recursive modules, GHC /= Report?
naur at post11.tele.dk
Wed Jan 14 07:53:39 EST 2009
On Wednesday 14 January 2009 12:59, Mauricio wrote:
> I read:
> "Modules may reference other modules via
> explicit import declarations, each giving
> the name of a module to be imported and
> specifying its entities to be imported.
> Modules may be mutually recursive."
> However, I get this from GHC:
> Module imports form a cycle for modules:
> imports: Control.Concurrent.MVar GtkMostrarConfig GtkLerECG
> imports: Control.Concurrent.MVar Graphics.UI.Gtk Main
> Aren't cycles of modules just recursive modules? Why
> wasn't that allowed?
Have you looked at
I never tried this myself, but it seems to explain some important details
about how to compile mutually recursive modules using GHC.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe