generalize type of Data.Set.unions from List to Foldable

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Sun Feb 4 19:47:09 UTC 2018


> 2. Deprecate and remove.

Removal is good. (Less code, less errors ...)

But the following cannot be obtained via Foldable.fold ?

unionsWith :: Ord k => (a -> a -> a) -> [Map k a] -> Map k a

- J.W.


More information about the Libraries mailing list