Mutable hash?

Simon Marlow simonmar at
Mon Oct 25 07:47:22 EDT 2004

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:
> 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 :-)


More information about the Glasgow-haskell-users mailing list