Max Rabkin <[email protected]> writes: > On Tue, Jun 29, 2010 at 11:46 AM, Ketil Malde <[email protected]> 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 [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
