next up previous contents index
Next: Disjunctions Up: Layout Rules Previous: Predicates and clauses   Contents   Index

If-then-elses

If-then-elses should always be parenthesised. Always include the else part, even if you don't think it's required. Always put semicolons at the start of a new line, aligned with the opening and closing parentheses. Example:

( test1 ->
       goal1
;
       goal2
),


Warwick Harvey
2004-08-07