On Sunday 07 November 2004 17:41, Keean wrote: > I might really want to call the initialisation twice. If you use global > variables, the library can only be initialised once... but what if I > really want to use the library twice? With the state in a type passed > between functions, you can have multiple different states active > at once.
Yes, exactly. Just as you might, in fact, *want* to call putString twice... ;) Ben _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe