Proposal: add `on` to the Prelude

David Feuer david.feuer at gmail.com
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 <helmut.schmidt.4711 at gmail.com>
wrote:

>
> 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/20190912/ce7cf9f6/attachment.html>


More information about the Libraries mailing list