Next: Semantics Up: Two Rule Constructors Previous: Remark

The Conditional Constructor

If k is a natural number, g0, ... , gk are Boolean terms and R0, ... , R0 are rules, then the following expression is a rule:

if g0 then R0
elseif g1 then R1
.
.
.
elseif gk then Rk
endif

If the guard gk is the nullary function true, then the last elseif clause may be replaced by ``else Rk ''. For brevity we will say that the conditional rule R above is the conditional rule with clauses (g0,R0), ... , (gk,Rk).



huggins@acm.org
Thu Mar 23 17:30:35 EST 1995