next up previous
Next: 4.1 Using Scheme Notation Up: Recursion, Iteration and Functional Previous: 3.2 J Example

4 Expressing Recursion as Functional Composition

Consider the function sum of Section 2.1 and evaluate the sum of the integers 1 to 5. We next write out the 5 continuations which must be formed to complete this evaluation.



Subsections
next up previous
Next: 4.1 Using Scheme Notation Up: Recursion, Iteration and Functional Previous: 3.2 J Example
2002-11-26