[Haskell-cafe] Functions from Data.Hashtable

Don Stewart dons at galois.com
Tue Apr 7 18:25:28 EDT 2009


It is a bit odd. I'd suggest improvements (particularly implementing
"carding" strategies) should be uploaded to hackage. 

-- Don

bugfact:
> These functions have their arguments reversed when compare to e.g. Map
> 
> For example
> 
> Data.HashTable.lookup :: HashTable key val -> key -> IO (Maybe val)
> 
> Data.Map.lookup :: Ord key => key -> Map key val -> Maybe val
> 
> I find this a bit odd. Is this by design?
> 

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list