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_
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
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
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
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
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