Deprecate Foldable for Either

David Feuer david.feuer at gmail.com
Sat Mar 18 22:21:09 UTC 2017


I'm +1 on offering the warning and very very -1 on including it in -Wall.

On Mar 18, 2017 6:19 PM, "Henning Thielemann" <lemming at henning-thielemann.de>
wrote:

>
> On Sat, 18 Mar 2017, Lana Black wrote:
>
> On 18/03/17 19:49, Henning Thielemann wrote:
>>
>>>
>>> On Sat, 18 Mar 2017, Carter Schonwald wrote:
>>>
>>> for what?
>>>>
>>>
>>> A warning if someone e.g. calls 'length (a,b)', or more generally, if
>>> certain instances are used.
>>>
>>
>> Please no. Many of us like our code Wall-clean while still being able to
>> write polymorphic functions.
>>
>
> Whether the warning is enabled by Wall is a different question.
> Though I think it should.
>
> https://ghc.haskell.org/trac/ghc/ticket/11796
> _______________________________________________
> 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/20170318/110a7292/attachment-0001.html>


More information about the Libraries mailing list