RE: Mutable hash?

2004-10-25 Thread Simon Marlow
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_

Re: Mutable hash?

2004-10-23 Thread Lauri Alanko
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

Mutable hash?

2004-10-21 Thread Petter Egesund
Title: Mutable hash? Does anybody know about a mutable hash implementation for ghc? There is going to be a lot of updates in the hash (some millions adds and removes) so a non-mutable structure will not do?! Cheers, Petter ###This message has

Re: Mutable hash?

2004-10-21 Thread Robert Dockins
this. Petter Egesund wrote: Does anybody know about a mutable hash implementation for ghc? There is going to be a lot of updates in the hash (some millions adds and removes) so a non-mutable structure will not do?! Cheers, Petter ### This message has been

SV: Mutable hash?

2004-10-21 Thread Petter Egesund
Thanks! Petter -Opprinnelig melding- Fra: Robert Dockins [mailto:[EMAIL PROTECTED] Sendt: 21. oktober 2004 15:17 Til: Petter Egesund Kopi: [EMAIL PROTECTED] Emne: Re: Mutable hash? There is a hashtable in the IO monad: http://www.haskell.org/ghc/docs/latest/html/libraries/base

Re: Mutable hash?

2004-10-21 Thread ajb
G'day. Quoting Petter Egesund [EMAIL PROTECTED]: Does anybody know about a mutable hash implementation for ghc? How about three of them? http://cvs.sourceforge.net/viewcvs.py/haskell-libs/libs/hashtable/ They're all concurrency-safe. Cheers, Andrew Bromage