X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;f=exercises%2Fassignment2_answers.mdwn;h=6d0e5aa450db8eef97a90f69de5459e0fdba34be;hb=6dc0f03a2b7a5081fa378f0a1af4e37682b7242c;hp=3eaaa1566c4791f3116b7c2fcb5bb32e8b6d74a6;hpb=7e3abd34b5cf0f3d986e986bad3d4eadae298939;p=lambda.git diff --git a/exercises/assignment2_answers.mdwn b/exercises/assignment2_answers.mdwn index 3eaaa156..6d0e5aa4 100644 --- a/exercises/assignment2_answers.mdwn +++ b/exercises/assignment2_answers.mdwn @@ -237,6 +237,9 @@ Folds and Lists reverse xs = (fold_right (f, id) xs) [] in reverse + The ideas here are explored further in Chapter 8 of *The Little Schemer*. There they first introduce the idea of passing function as arguments to other functions, and having functions be the return values from functions. Then the `multirember&co` function discussed on pp. 137--140 (and the other `...&co` functions discussed in that chapter) are more complex examples of the kind of strategy used here to define `reverse`. We will be returning to these ideas and considering them more carefully later in the term. + + Numbers -------