Proposal: add `on` to the Prelude

Helmut Schmidt at
Tue Sep 10 22:41:54 UTC 2019

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

> 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: <>

More information about the Libraries mailing list