X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=exercises%2Fassignment3.mdwn;h=7121faee69e9b388627e33f971b4f0d2b8ee299d;hp=590bae75b73ade1f7875f409e68ec3adb5ba4d25;hb=a7f15a6a8100c10bde1cf7b97a02660a3d00b9d9;hpb=d13ff61a8d850e297e12ebb5d77464162849cfc2 diff --git a/exercises/assignment3.mdwn b/exercises/assignment3.mdwn index 590bae75..7121faee 100644 --- a/exercises/assignment3.mdwn +++ b/exercises/assignment3.mdwn @@ -1,5 +1,3 @@ -** *Work In Progress* ** - ## Lists and List Comprehensions 1. In Kapulet, what does `[ [x, 2*x] | x from [1, 2, 3] ]` evaluate to? @@ -79,6 +77,11 @@ Using the mapping specified in this week's notes, translate the following lambda 25. For each of the above translations, how many `I`s are there? Give a rule for describing what each `I` corresponds to in the original lambda term. + This generalization depends on you omitting the translation rule: + + 6. @a(Xa) = X if a is not in X + + Evaluation strategies in Combinatory Logic ------------------------------------------