RDR Syntax

RDR Semantics

RDR's are essentially if-then-else statements that return values, eg.

That is, if is a function. Note that the result in the then part of the statement is evaluated.

The except part of the rule is evaluate if the conjunction of conditions succeeds, eg.

In this case, the result of the except part over-rides the original conclusion.

Operator Precedence Table

Associativity

Precedence

Operator

960

fx

if

950

xfx

else

850

xfx

then

840

xfx

except

830

xfx

because

800

xfy

or

750

xfy

and