Examples: Functions as Values

[   ] .. Index to Examples.
[   ] 8/01 Compile global first-order functions into stack machine code. Function as parameter and result value.
[   ] 8/02 Euclid's algorithm, function as a variable value.
[   ] 8/03 Mutually recursive functions, function as a variable value.
[   ] 8/04 Block scopes, now declare before use required.
[   ] 8/05 Shadowing, now declare before use required.
[   ] 8/06 Semantic errors in functions.
[   ] 8/07 (Flawed) function composition.
[   ] 8/08 Compile nested first-order functions into stack machine code. Function value == address + display. As parameter only.
[   ] 8/09 Nested function with a closure requires display.
[   ] 8/10 Nested function as parameter for deeper nester function.
[   ] 8/11 Euclid's algorithm, avoids non-positive arguments.
[   ] 8/12 Deep nesting.
[   ] 8/13 Puzzle.
[   ] 8/14 Compile nested first-order functions into stack machine code. Memory management with garbage collection.
[   ] 8/15 Euclid's algorithm, demonstrates a closure.
[   ] 8/16 Deeper closure.
[   ] 8/17 Nesting puzzle.
[   ] 8/18 Currying pattern.
[   ] 8/19 Evaluating an arithmetic expression.
[   ] 8/20 Evaluating an arithmetic expression. Currying and cascaded function calls.
[   ] 8/21 Evaluating an arithmetic expression. Replicates the function composition used in example 6/07.