[previous] [up] [next]     [contents]
Next: Conditional Expressions and Programs Up: NumbersExpressions, Simple Programs Previous: Designing Programs

Composing and Reusing Programs

Exercise Notes

Exercise 2.6.2 Three dots in a row, ..., is a legal Scheme name. DrScheme does not attempt to determine the meaning of a name until necessary. For this reason, you can type in temporary definitions for all of the functions like this:

(define (feet->yards f)
  ...) 

Then, one at a time, replace ... in each function and test it.



PLT