Proposal: Add `restriction` to Data.Map and Data.IntMap
Henning Thielemann
lemming at henning-thielemann.de
Thu Aug 25 07:23:06 UTC 2016
On Thu, 14 Jul 2016, David Feuer wrote:
> Cale Gibbard proposes the following:
>
> Data.IntMap.restriction :: IntSet -> IntMap a -> IntMap a
> Data.Map.restriction :: Ord k => Set k -> Map k a -> Map k a
I already used such functions and proposed them as intersectionSet,
differenceSet and partitionSet:
https://github.com/haskell/containers/issues/158
More information about the Libraries
mailing list