[Haskell-cafe] whine and solution about programmers not
respecting documentations
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Tue Jun 29 06:31:20 EDT 2010
Max Rabkin <max.rabkin at gmail.com> writes:
> 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?
"filter . (not .)" actually.
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list