Expand the Data.Set API

David Feuer david.feuer at gmail.com
Tue Mar 17 22:27:00 UTC 2015


On Mar 17, 2015 4:57 PM, "Petr Pudlák" <petr.mvd at gmail.com> wrote:
>
> What would be use-cases for (2)? As Joachim pointed out, for any
reasonable data type inserting an equal element should have no difference.

I don't feel strongly about it; it was just a thought.

> For (3) I'd be in favor of
>
>     alterF :: (Functor f, Ord a) => a -> (Bool -> f Bool) -> Set a -> f
(Set a)

That seems quite reasonable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150317/b1d504b7/attachment.html>


More information about the Libraries mailing list