X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=topics%2Fweek13_coroutines_exceptions_and_aborts.mdwn;h=a9d8bc2a66aa15614367850ecdae09021f4cd691;hp=706050edeb0d9253967c608fc481e32f9d43c14b;hb=649716384d5e6e1a828d782369a80a80c4ae1a46;hpb=2e0ea1ad1187d391cf3bb50c08bddf00fbeada7b diff --git a/topics/week13_coroutines_exceptions_and_aborts.mdwn b/topics/week13_coroutines_exceptions_and_aborts.mdwn index 706050ed..a9d8bc2a 100644 --- a/topics/week13_coroutines_exceptions_and_aborts.mdwn +++ b/topics/week13_coroutines_exceptions_and_aborts.mdwn @@ -255,7 +255,7 @@ A more general way to think about these snapshots is to think of the code we're else abort 20 ) + 100 end - in (foo 2) + 1;; (* this line is new *) + in (foo 2) + 1000;; (* this line is new *) we can imagine a box: @@ -422,7 +422,7 @@ There are also different kinds of "syntactic sugar" we can use to hide the conti (shift k (if (eqv? x 1) (k 10) 20)) 100)))]) - (+ (foo 1) 1000)) + (+ (foo 2) 1000))