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

Ashley Yakeley ashley at semantic.org
Fri Sep 5 15:18:25 EDT 2008

Sittampalam, Ganesh wrote:
> Ashley Yakeley wrote:
>> I really don't know enough about the RTS to know. The
>> alternative would be to keep all initialised values
>> when the module is unloaded. I'm guessing this is more
>> feasible.
> Easier, but a guaranteed memory leak.

But it's limited to the initialisers. An IORef holding an Integer isn't 
much memory, and it only ever gets leaked once.

Ashley Yakeley

More information about the Haskell-Cafe mailing list