X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=exercises%2Fassignment3.mdwn;h=271d2bfda175267a25352510c9dbb96744dcd560;hp=36154531eb3d68016544bdadbad4b5d9fecba60d;hb=83fdeb9bb9827867d5f58b71d610580e91011de4;hpb=2e967e80e9c4b9b7d4d35702996e046e7359de3e diff --git a/exercises/assignment3.mdwn b/exercises/assignment3.mdwn index 36154531..271d2bfd 100644 --- a/exercises/assignment3.mdwn +++ b/exercises/assignment3.mdwn @@ -6,7 +6,7 @@ 2. What does `[ 10*x + y | y from [4], x from [1, 2, 3] ]` evalaute to? -3. Using either Kapulet's or Haskell's list comprehension syntax, write an expression that transforms `[3, 1, 0, 2]` into `[3, 3, 3, 1, 2, 2]`. [[Here is a hint|assignment3 hints]], if you need it. +3. Using either Kapulet's or Haskell's list comprehension syntax, write an expression that transforms `[3, 1, 0, 2]` into `[3, 3, 3, 1, 2, 2]`. [[Here is a hint|assignment3 hint1]], if you need it. ## Lists @@ -17,7 +17,7 @@ 6. Continuing to encode lists in terms of their left-folds, what should `last` be, where `last [a, b, c]` should result in `c`. Let `last []` result in whatever `err` is bound to. -7. Continuing to encode lists in terms of their left-folds, how should we write `head`? This is challenging. [[Here is a hint|assignment3 hints]], if you need it. +7. Continuing to encode lists in terms of their left-folds, how should we write `head`? This is challenging. [[Here is a solution|assignment3 hint2]], if you need help. ## Numbers