Ketil Malde <ke...@malde.org> writes:

> Max Rabkin <max.rab...@gmail.com> 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
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to