(no commit message)
authorchris <chris@web>
Sun, 15 Mar 2015 17:27:07 +0000 (13:27 -0400)
committerLinux User <ikiwiki@localhost.members.linode.com>
Sun, 15 Mar 2015 17:27:07 +0000 (13:27 -0400)
exercises/_assignment6.mdwn

index b6a00de..91566c9 100644 (file)
@@ -174,15 +174,15 @@ is `\p.[p]`, and the composition operator is
 
 Sanity check: 
 
 
 Sanity check: 
 
-    f p = [x, x+1]
-    s q = [x*x, x+x]
-    >=> f s 7 = [49, 14, 64, 16]
+     f p = [x, x+1]
+     s q = [x*x, x+x]
+     >=> 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
 
 
 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 = [x, x+1]
+     s q = [x*x, x+x]
+     >=> f s 7 = [49, 64]
 
 and then prove it obeys the monad laws.
 
 and then prove it obeys the monad laws.