The Order of Evaluation
- slide 5 : 26
Arbitrary evaluation order - with some limits
In a functional program an expression is evaluated with the purpose of producing a value
An expression is composed of subexpressions
Subexpressions can be evaluated in an arbitrary order
provided that
no errors occur in subexpressions
the evaluation of all subexpressions terminates
It is possible, and without problems, to evaluate subexpressions in parallel