projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7e25b
)
edits
author
Chris Barker
<barker@omega.(none)>
Sat, 27 Nov 2010 04:58:43 +0000
(23:58 -0500)
committer
Chris Barker
<barker@omega.(none)>
Sat, 27 Nov 2010 04:58:43 +0000
(23:58 -0500)
zipper-lists-continuations.mdwn
patch
|
blob
|
history
diff --git
a/zipper-lists-continuations.mdwn
b/zipper-lists-continuations.mdwn
index
a14ed50
..
f0a252e
100644
(file)
--- a/
zipper-lists-continuations.mdwn
+++ b/
zipper-lists-continuations.mdwn
@@
-243,13
+243,6
@@
lists, so that they will print out.
Ta da!
-Just for mnemonic purposes (sneaking in an instance of eta reduction
-to the definition of unit), we can summarize the result as follows:
-
- type ('a, 'b) list' = ('a -> 'b -> 'b) -> 'b -> 'b
- l'_unit x = fun f -> f x
- l'_bind u f = fun k -> u (fun x -> f x k)
-
To bad this digression, though it ties together various
elements of the course, has *no relevance whatsoever* to the topic of
continuations.