
23 Oct
2004
23 Oct
'04
6:25 p.m.
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.ht...
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 la@iki.fi