edits
authorChris Barker <barker@omega.(none)>
Sun, 31 Oct 2010 14:16:28 +0000 (10:16 -0400)
committerChris Barker <barker@omega.(none)>
Sun, 31 Oct 2010 14:16:28 +0000 (10:16 -0400)
week7.mdwn

index 62ef89f..9f139c1 100644 (file)
@@ -62,8 +62,10 @@ that provides at least the following three elements:
 
 * A bind operation (note the type):
 
+<pre>
      let bind m f = match m with None -> None | Some n -> f n;;
      val bind : 'a option -> ('a -> 'b option) -> 'b option = <fun>
+</pre>
 
      `bind` takes two arguments (a monadic object and a function from
      ordinary objects to monadic objects), and returns a monadic