15 Jan 23:17
Re: some ideas for Haskell', from Python
Brandon S. Allbery KF8NH <allbery <at> ece.cmu.edu>
2009-01-15 22:17:51 GMT
2009-01-15 22:17:51 GMT
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] allbery <at> kf8nh.com system administrator [openafs,heimdal,too many hats] allbery <at> ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
RSS Feed