Re: [Haskell-cafe] Precedence of plus and bit-wise-and
16 Aug
2017
16 Aug
'17
8:55 p.m.
Sorry for hitting return prematurely. The final sentence below tells the tale. 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); } That usage was baked in before the short-cut operators && and || were introduced in C. doug
3266
Age (days ago)
3266
Last active (days ago)
0 comments
1 participants
participants (1)
-
Doug McIlroy