[Haskell-cafe] Re: [Haskell] Top Level <-

Ashley Yakeley ashley at semantic.org
Thu Sep 4 06:23:18 EDT 2008

Sittampalam, Ganesh wrote:
> I talked to Don about this and you're right, that doesn't happen.
> However
> he also confirmed that it does load modules a second time if they are
> in the main program as well as the plugin, and it would be difficult to
> merge the static and dynamic versions of the module.

Oh dear. To fix this, I suppose the RTS would have to be able to keep 
track of all static initialisers. But it shouldn't otherwise affect 
program optimisation.

Ashley Yakeley

More information about the Haskell-Cafe mailing list