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.HashTable.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.


Lauri Alanko
[EMAIL PROTECTED]
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to