X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=exercises%2F_assignment6.mdwn;h=cd9db08681ddbf5bac92585cda68f5343f2100f1;hp=91566c9dcf82bd9897a62ffe5834af983fe8a0e9;hb=28a4f4e37ae8c8c189186b5cd49ab055a3646f57;hpb=bfba652f01bea3932281272c3d0a01669d1efb18 diff --git a/exercises/_assignment6.mdwn b/exercises/_assignment6.mdwn index 91566c9d..cd9db086 100644 --- a/exercises/_assignment6.mdwn +++ b/exercises/_assignment6.mdwn @@ -174,15 +174,15 @@ is `\p.[p]`, and the composition operator is Sanity check: - f p = [x, x+1] - s q = [x*x, x+x] + f p = [p, p+1] + s q = [q*q, q+q] >=> f s 7 = [49, 14, 64, 16] 3. Do the same for zippy lists. That is, you need to find a composition operator such that - f p = [x, x+1] - s q = [x*x, x+x] - >=> f s 7 = [49, 64] + f p = [p, p+1] + s q = [q*q, q+q] + >=> f s 7 = [49, 64] and then prove it obeys the monad laws.