
El 27 may 2020, a las 16:33, Joseph C. Sible
escribió: On Wed, May 27, 2020 at 11:09 AM Henning Thielemann
wrote: I use 7.4.2 regularly. I like to avoid upgrading to 7.10 and above because I do not want to run into accidental bugs based on "maximum (a,b)".
IMO, avoiding "instance Foldable ((,) a)" isn't really a good reason to not upgrade. You're giving up a lot of bug fixes and other improvements just to avoid accidentally writing code that a linter will easily catch.
The problems with (Foldable (,)) run much deeper than a liner could catch, as far as I'm aware. Although I use 8.4+ myself, I try to support 7.4+ in my packages specifically for people who are holding out for a real solution to the problem. Though LambdaCase is sometimes too good to lose! Tom