next up previous
Next: 12.8 Using Scheme Notation Up: 12 Recursion Previous: 12.6 J Example

12.7 Expressing Recursion as Functional Composition

Consider the function sum of Section 12.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.


next up previous
Next: 12.8 Using Scheme Notation Up: 12 Recursion Previous: 12.6 J Example
2002-11-26