29 Jun
2010
29 Jun
'10
6:31 p.m.
Max Rabkin <max.rabkin@gmail.com> writes:
On Tue, Jun 29, 2010 at 11:46 AM, Ketil Malde <ketil@malde.org> wrote:
deleteBy :: (a -> Bool) -> [a] -> [a]
I don't think there would be any doubt what 'deleteBy (<= 5) [1..10]' would do. And I just don't see what the requirement for an equivalence relation buys you.
Your deleteBy is (filter . not), isn't it?
"filter . (not .)" actually. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com