-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
Description
https://hackage.haskell.org/package/hashable-1.5.0.0/docs/Data-Hashable.html#t:Hashed
(Original discussion: haskell-unordered-containers/hashable#76)
How about adding
toHashedList :: HashMap k v -> [(Hashed k, v)]
fromUniqueHashedList :: [(Hashed k, v)] -> HashMap k v
This could be useful for the code pattern
HM.fromList <$> doStuff (HM.toList m)
(CC @andrewthad, who implemented the type in haskell-unordered-containers/hashable#121)