>>>>> "DBS" == Donald Bruce Stewart <dons at cse.unsw.edu.au> writes: DBS> There is already one implemented in the GHC DBS> libraries. If you are using GHC 6, you can import DBS> Data.HashTable. There is also the older (less efficient?) Data.FiniteMap with very similar functionality. Jens