Modify the behaviour of the system. Described in the BIFs manual. Back to top Function Syntax Is defined as a collection of clauses. Evaluation Rules Clauses are scanned sequentially until a match is found. When a match is found all variables occurring in the head become bound.
Variables are local to each clause, and are allocated and deallocated automatically.
The body is evaluated sequentially. Variables are allocated and deallocated automatically. The reserved word when introduces a guard. Fully guarded clauses can be re-ordered. 2 - X is a tuple of size 2.