Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Read chapter 8 very carefully before doing the problems from that chapter. This chapter is not padded with lots of wordy examples. In writing hand evaluations for problems 8.3.1 and 8.3.2, follow the same format as the examples in Section 8.3, which is shown in more detail in the hand-evaluation examples posted on the course wikievaluations examples given in the Scheme HW Guide.
  • To follow the design recipe, you must write down the purpose, contract, at least 5 well-chosen examples, write the code for the function, and include illustrative test cases for the function (using at least the examples you developed ahead of time). (Note: you can bundle the examples and test cases together as a block of check-expect invocations.) Your chosen examples should illustrate the output you expect, and the test cases should produce the actual output (they should not be commented). If the function processes an inductive type, make sure that your examples include the base case(s) and sample inductive cases.

...