projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf13047
)
edits
author
Chris Barker
<barker@omega.(none)>
Sat, 27 Nov 2010 05:01:12 +0000
(
00:01
-0500)
committer
Chris Barker
<barker@omega.(none)>
Sat, 27 Nov 2010 05:01:12 +0000
(
00:01
-0500)
zipper-lists-continuations.mdwn
patch
|
blob
|
history
diff --git
a/zipper-lists-continuations.mdwn
b/zipper-lists-continuations.mdwn
index
0eb3128
..
ed822f8
100644
(file)
--- a/
zipper-lists-continuations.mdwn
+++ b/
zipper-lists-continuations.mdwn
@@
-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
- 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