implement hash table

Donald Bruce Stewart dons at cse.unsw.edu.au
Wed Oct 8 13:53:21 EDT 2003


r2yang:
> Hi,all
> 
> I'm a new one in this Haskell programming language. I have a program which 
> involved a lot of computation tasks and it's quite inefficient,so I'm currently 
> examing the possibility of using hash table in my data structure, can some one 
> tell me how to implement it? I can't find much information about it.

There is already one implemented in the GHC libraries.
If you are using GHC 6, you can import Data.HashTable.

Check out:
    http://www.haskell.org/ghc/docs/latest/html/base/Data.HashTable.html

-- Don


More information about the Haskell mailing list