Ketil Malde <[email protected]> writes:

> Max Rabkin <[email protected]> writes:
>
>> Your deleteBy is (filter . not), isn't it?
>
> With the caveat that I haven't actually used it, my impression is that
> delete only removes one element, while filter removes all of them.

At most one element, yes; I question why that design decision was made
as I'm more likely to want to delete all values rather than just the
first one (does anyone actually like/rely on the current functionality
of delete/deleteBy w.r.t. repeated values?).

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to