[Haskell-cafe] Mutually recursive modules and google protocol-buffers

Max Bolingbroke batterseapower at hotmail.com
Tue Jul 15 09:20:27 EDT 2008


> And there is no way ghc can compile these in separate modules.

I may be being redundant here, but you may not know that GHC actually
can compile mutually recursive modules. See
http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#mutual-recursion
. Of course, this is not a great solution either, as creating hs-boot
files is a bit tedious, but at least the option is there.

Cheers,
Max


More information about the Haskell-Cafe mailing list