Add fixity for (==) and (/=)

C Maeder chr.maeder at web.de
Tue Sep 18 09:34:39 UTC 2018


Hi,

infixr seeems right for an equivalence (==) since implication is usually
also right associative.

Implication "==>" corresponds to "<=" on Bool, which might be confusing.
Reverse implication (>=) should be left associative, then.

Cheers Christian

Am 17.09.2018 um 11:28 schrieb Dannyu NDos:
> Well, infixr is friendlier to parsers.
> 
> 2018년 9월 17일 (월) 오후 6:22, David Feuer <david.feuer at gmail.com
> <mailto:david.feuer at gmail.com>>님이 작성:
> 
>     Looks good to me! Do you have an opinion about infixl vs infixr?
> 
>         Libraries mailing list
>         Libraries at haskell.org <mailto:Libraries at haskell.org>
>         http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> 
> 
> 
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> 



More information about the Libraries mailing list