Proposal: add `on` to the Prelude

David Feuer david.feuer at
Thu Sep 12 14:54:41 UTC 2019

Describing another's proposal as "pointless" contributes to the perception
that this is an unfriendly community. Please don't do that! If you want to
explain why you think Proposal X is more worthy than Proposal Y, you should
do so constructively and sensitively.

On Tue, Sep 10, 2019, 6:42 PM Helmut Schmidt < at>

> 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