formatting
authorjim <jim@web>
Sun, 22 Mar 2015 15:18:58 +0000 (11:18 -0400)
committerLinux User <ikiwiki@localhost.members.linode.com>
Sun, 22 Mar 2015 15:18:58 +0000 (11:18 -0400)
exercises/assignment7.mdwn

index e9cf823..bfc171b 100644 (file)
@@ -129,4 +129,7 @@ is the singleton function `\p. [p]`, and the composition operator is:
 
         let j a = [a; a+1];;
         let k b = [b*b; b+b];;
 
         let j a = [a; a+1];;
         let k b = [b*b; b+b];;
-        (j >=> k) 7 (* ==> [49; 14; 64; 16] *)
+        (j >=> k) 7
+        (* which OCaml evaluates to:
+        - : int list = [49; 14; 64; 16]
+        *)