It is *right* associative! (The example was right. :-)
This commit is contained in:
parent
717ec38a5c
commit
52ef95d27a
|
@ -45,9 +45,9 @@ Proposal
|
|||
the first operand is true / false.
|
||||
|
||||
To disambiguate this in the context of other operators, the
|
||||
"if...else" part in the middle acts like a left-associative binary
|
||||
operator with a priority lower than that of "or", and higher than
|
||||
that of "lambda".
|
||||
"if...else" part in the middle acts like a right-associative
|
||||
binary operator with a priority lower than that of "or", and
|
||||
higher than that of "lambda".
|
||||
|
||||
Examples of how this works out:
|
||||
|
||||
|
|
Loading…
Reference in New Issue