ot;, since the call to newIORef has, in effect,
been included into main. If the module were imported in two different
places, both places would see different values for "ref", since the
evaluation of newIORef has been done twice.
Would this be useful, useless, or just downright silly?
statement was inside a do block, it would be clear when the
side-effects are taking place.
Regards,
Stephen Dolan
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime