From: barker Date: Mon, 20 Sep 2010 03:40:12 +0000 (-0400) Subject: (no commit message) X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=commitdiff_plain;h=ac5b18441c0c498fa20ccd2db601d895d665929b;hp=-c;p=lambda.git --- ac5b18441c0c498fa20ccd2db601d895d665929b diff --git a/assignment2.mdwn b/assignment2.mdwn index f6bde83d..82957888 100644 --- a/assignment2.mdwn +++ b/assignment2.mdwn @@ -76,6 +76,8 @@ For these exercises, assume that `LIST` is the result of evaluating: LIST make-list empty + [[Assignment 2 hint 1]] + 2. Based on your answer to question 1, how might you implement the **map** function? Expected behavior:
map f LIST <~~> (make-list (f a) (make-list (f b) (make-list (f c) (make-list (f d) (make-list (f e) empty)))))