Discussion: Allow custom constraint for elem in Foldable

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Jul 28 00:01:33 UTC 2017


On 28 July 2017 at 09:37, Niklas Hamb├╝chen <mail at nh2.me> wrote:
> On 28/07/17 00:45, David Feuer wrote:
>> Unfortunately, this is really awful for sets, hash maps, etc.
> If this is done at some point, I suppose we could fix `nub` in the same way?

I'd prefer we have a "needs only Eq" function like nub, as I've used
it in the past.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Libraries mailing list