The (==) and (/=) operators are non-associative on purpose.   Writing x==y==z is much more likely to be a typo than a legitimate use case.  We decided to make them non-associative, even though they are associative. (Note that they have fixity already.)

On Sun, Sep 16, 2018 at 22:38 Dannyu NDos <ndospark320@gmail.com> wrote:
Given that they are instantized for `Bool`s, they are associative, so it seems approvable to give them a fixity.

(Sidenote: For the monoid over (==) I suggested on last May, I stated that it determines if there is an even number of `True`s, but that's wrong. It determines if there is an odd number of `False`s.)
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries