edits
authorChris Barker <barker@omega.(none)>
Sat, 27 Nov 2010 05:01:12 +0000 (00:01 -0500)
committerChris Barker <barker@omega.(none)>
Sat, 27 Nov 2010 05:01:12 +0000 (00:01 -0500)
zipper-lists-continuations.mdwn

index 0eb3128..ed822f8 100644 (file)
@@ -294,8 +294,6 @@ parallel in a deep sense.  To emphasize the parallel, we can
 instantiate the type of the list' monad using the Ocaml list type:
 
     type 'a c_list = ('a -> 'a list) -> 'a list
 instantiate the type of the list' monad using the Ocaml list type:
 
     type 'a c_list = ('a -> 'a list) -> 'a list
-    let c_list_unit x = fun f -> f x;;
-    let c_list_bind u f = fun k -> u (fun x -> f x k);;
 
 Have we really discovered that lists are secretly continuations?
 Or have we merely found a way of simulating lists using list
 
 Have we really discovered that lists are secretly continuations?
 Or have we merely found a way of simulating lists using list