Proposal: Add `restriction` to Data.Map and Data.IntMap

wren romano winterkoninkje at gmail.com
Thu Aug 25 01:54:24 UTC 2016


On Mon, Jul 25, 2016 at 9:11 AM, David Feuer <david.feuer at gmail.com> wrote:
> I got distracted from this discussion for a bit. Based on input from
> the list, and Ross Paterson's remark about argument order, I'm
> currently thinking
>
> restrictKeys :: Ord k => Map k a -> Set k -> Map k a
>
> and
>
> withoutKeys :: Ord k => Map k a -> Set k -> Map k a
>
> Are there any major objections?

+1 for this color of bikeshed. (and +1 to having the bikeshed,
regardless of color)

-- 
Live well,
~wren


More information about the Libraries mailing list