wren ng thornton <[email protected]> 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.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to