Open janmasrovira opened 1 week ago
This pr introduces:
if
Example:
multiCaseBr : Nat := case 1 of | zero | if 0 < 0 := 3 | else := 4 | suc (suc n) | if 0 < 0 := 3 | else := n | suc n if 0 < 0 := 3;
The side if branches must satisfy the following.
else
Future work:
This pr introduces:
if
is a reserved keyword.Example:
The side if branches must satisfy the following.
if
branch.else
branch is optional. If present, it must be the last.Future work: