damn tweaks13
authorJim Pryor <profjim@jimpryor.net>
Wed, 15 Sep 2010 15:57:50 +0000 (11:57 -0400)
committerJim Pryor <profjim@jimpryor.net>
Wed, 15 Sep 2010 15:57:50 +0000 (11:57 -0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
damn.mdwn

index 9d03deb..b0b2d61 100644 (file)
--- a/damn.mdwn
+++ b/damn.mdwn
@@ -159,7 +159,7 @@ But then we'd get:
 
        '((the . man) . (read . (the . ((side-effect . bad) . book))))
 
-and we said at the outset that the context `(the . (<> . book))` shouldn't need to know how to interact with affective meanings. That's precisely the problem we're trying to solve.
+and we said at the outset that the context `(the . (<> . book))` shouldn't need to know how to interact with affective meanings. (I'll use `<>` to indicate a "hole" in a larger expression.)
 
 
 Let's use continuations
@@ -250,7 +250,7 @@ It's not immediately clear how to do it with "undelimited" continuations, of the
 
 The idea here is we capture the continuation that the thunk `(damn)` has when it gets evaluated. This continuation is bound to the variable `k`. We supply `'id` as an argument to that continuation. When the main, at-issue tree is all built, then we return a pair `((side-effect bad) AT-ISSUE-TREE)`.
 
-However, this doesn't work. The reason is that an undelimited continuation represents the future of the evaluation of `(damn)` *until the end of the computation*. So when `'id` is supplied to `k`, we go back to building the at-issue tree until we're finished *and that's the end of the computation*. We never get to go back and evaluate the context `(cons (cons 'side-effect 'bad) <>)`.
+However, this doesn't work. The reason is that an undelimited continuation represents the future of the evaluation of `(damn)` *until the end of the computation*. So when `'id` is supplied to `k`, we go back to building the at-issue tree until we're finished *and that's the end of the computation*. We never get to go back and evaluate the application of `(cons (cons 'side-effect 'bad) <>)` to anything.
 
 
 With undelimited continuations