Proposal: add `on` to the Prelude

Helmut Schmidt helmut.schmidt.4711 at gmail.com
Tue Sep 10 22:41:54 UTC 2019


Am Di., 10. Sept. 2019 um 21:53 Uhr schrieb David Feuer <
david.feuer at gmail.com>:

> Every time I reach for Data.Function.on, I feel like a total dolt for
> having to import a module to get a function whose implementation is barely
> longer than the import. And it's a really good function too! Can we please
> add it to the Prelude?
>

Agreed. This function makes only sense to have if the cost of getting it
into scope doesn't outweigh its benefit and therefore I support this
proposal which makes a lot more sense than the pointless singleton proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190910/2b2e63d2/attachment.html>


More information about the Libraries mailing list