damn tweaks15
[lambda.git] / damn.mdwn
index cd01134..5bf45b8 100644 (file)
--- a/damn.mdwn
+++ b/damn.mdwn
@@ -276,6 +276,8 @@ If a block `...` never invokes a shift, then `(reset ...)` will evaluate just th
 
 Going back to the beginning, then. We start with:
 
+       (require racket/control) ; this tells Scheme to let us use shift and reset
+
        (define damn (lambda () 'id))
 
 We evaluate:
@@ -295,7 +297,6 @@ Evaluating that gives us:
 
 Now to pair that with an affective side-issue content, we'd instead define `damn` as:
 
-       (require racket/control) ; this tells Scheme to let us use shift and reset
        (define damn (lambda () (shift k (cons (cons 'side-effect 'bad) (k 'id)))))
 
 And voila: