On 23 October 2004 19:25, Lauri Alanko wrote: > On Thu, Oct 21, 2004 at 09:17:20AM -0400, Robert Dockins wrote: >> There is a hashtable in the IO monad: >> >> http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data.HashTabl e.html > > Why is it in IO instead of the more general ST? IMHO _all_ mutable > data structures should be written for ST (or a generalization > thereof), since one can always use stToIO if operation in the IO > monad is really required.
Because I'm lazy, and I don't use ST very often. Patches are welcome, as usual :-) Cheers, Simon _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users