Elements of functional programming
-
arithmetic and boolean expression
-
conditional expression
if-else
-
function in recursion, especially tail recursion
-
nesting and lexical scope
{}
The key points are:
-
the difference between call-by-value and call-by-name
-
reduce expression by using the substition model (λ - calculus)