Top level mutable data structures problem

David Brown haskell at
Thu Oct 21 15:17:52 EDT 2004

On Wed, Oct 20, 2004 at 04:38:54PM +0100, Simon Peyton-Jones wrote:

> * When a program is started, the module initialisation actions of its
>   modules run, in an order that respects module dependencies.

What happens when there are cicular dependencies between modules.  Perhaps
the circular dependency is only because of sharing of types, and there is a
valid order for the initialization.  But, is it easy for the compiler to
determine this?


More information about the Glasgow-haskell-users mailing list