[Haskell-cafe] Functions from Data.Hashtable

Ketil Malde ketil at malde.org
Wed Apr 8 15:47:52 EDT 2009

wren ng thornton <wren at freegeek.org> writes:

>> Data.HashTable.lookup :: HashTable key val -> key -> IO (Maybe val)
>> Data.Map.lookup :: Ord key => key -> Map key val -> Maybe val

> I'd guess it's due more to antiquity than to intention.

I am fairly sure that FiniteMap, which preceeded Data.Map, had the same
parameter order as HashTable.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list