[Haskell-cafe] whine and solution about programmers not
respecting documentations
Max Rabkin
max.rabkin at gmail.com
Tue Jun 29 06:01:26 EDT 2010
On Tue, Jun 29, 2010 at 11:46 AM, Ketil Malde <ketil at 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?
--Max
More information about the Haskell-Cafe
mailing list