[Haskell-cafe] whine and solution about programmers not
respecting documentations
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Tue Jun 29 07:22:34 EDT 2010
Daniel Fischer <daniel.is.fischer at web.de> writes:
> On Tuesday 29 June 2010 13:02:20, Ivan Lazar Miljenovic wrote:
>>
>> That's like asking why we have mapM and forM, etc.
>
> Yes, why?
>
> (okay, I use forM too, it's so much more readable with a short list and a
> long action)
Exactly; using "deleteBy p" (if it was fixed in this sense) would be less
ambiguous in what it's there for and less repetitive than using "filter
(not p)" all the time.
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list