[Haskell-cafe] Re: [Haskell] Re: Global Variables and IO initializers

Lennart Augustsson lennart at augustsson.net
Mon Nov 8 07:39:01 EST 2004


Jules Bean wrote:
> Yes... a lot of the example we have seen here are 'just' handles. 
> newIORef creates handles.  Something many programmers would like is the 
> ability to create fresh handles at the toplevel...

Yes, I hear what they want.  That doesn't mean I think it's
a good idea.  Top level things with identity are evil. :)

	-- Lennart


More information about the Haskell mailing list