[Haskell-cafe] Precedence of plus and bit-wise-and

Doug McIlroy doug at cs.dartmouth.edu
Wed Aug 16 12:51:49 UTC 2017


The reason for the low precedence of & and | in PL/I and C is
that those were used as Boolean operators in conditions. For
example
	lessequal(a,b) { return(a<b | a==b); }


More information about the Haskell-Cafe mailing list