On 2009 Jan 15, at 5:55, Manlio Perillo wrote:
Brandon S. Allbery KF8NH ha scritto:
>
> [... about Python import local to functions ...]
Sometime they are necessary, to avoid circular import problems (but this not a problem with Haskell).
...in theory. In practice GHC needs help with circular imports, and some cycles might be impossible to resolve.

This is interesting.
Where can I find some examples?

http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#mutual-recursion
The "impossible to resolve" is my interpretation of a discussion on the lists several months ago.

I don't see any mention in RWH offhand.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [email protected]
system administrator [openafs,heimdal,too many hats] [email protected]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to