Generalise type of deleteBy
David Feuer
david.feuer at gmail.com
Mon Sep 12 17:42:42 UTC 2016
-1 from me as well, for the same reasons.
On Sep 11, 2016 8:11 PM, "Joachim Breitner" <mail at joachim-breitner.de>
wrote:
> Hi,
>
> Am Sonntag, den 11.09.2016, 11:25 +0100 schrieb Matthew Pickering:
> > deleteBy :: (a -> b -> Bool) -> a -> [b] -> [b]
>
> -1 from me. This makes this different from the usual fooBy pattern, and
> the fact this this is possible points to some code smell, namely the
> lack of a
>
> (a -> Bool) -> [a] -> [a]
>
> function.
>
> Greetings,
> Joachim
>
> --
> Joachim “nomeata” Breitner
> mail at joachim-breitner.de • https://www.joachim-breitner.de/
> XMPP: nomeata at joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
> Debian Developer: nomeata at debian.org
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160912/19084b1f/attachment.html>
More information about the Libraries
mailing list