Deprecate Foldable for Either

Lana Black lanablack at amok.cc
Sat Mar 18 21:01:02 UTC 2017


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.
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

Please no. Many of us like our code Wall-clean while still being able to
write polymorphic functions. Adding more warnings that are often
triggered by correct code (redundant constraints, anyone?) only leads to
more headache.

You could make that an hlint rule on the other hand.


More information about the Libraries mailing list