diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:29 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:29 -0800 |
commit | 8466d8cfa486fb30d1755c4261b781135083787b (patch) | |
tree | c8c12c67246f543c3cc4f64d1c07e003cb1d45ae /dynwind.scm | |
parent | 87b82b5822ca54228cfa6df29be3ad9d4bc47d16 (diff) | |
download | slib-8466d8cfa486fb30d1755c4261b781135083787b.tar.gz slib-8466d8cfa486fb30d1755c4261b781135083787b.zip |
Import Upstream version 3a1upstream/3a1
Diffstat (limited to 'dynwind.scm')
-rw-r--r-- | dynwind.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dynwind.scm b/dynwind.scm index c9bdb95..a6a80ab 100644 --- a/dynwind.scm +++ b/dynwind.scm @@ -8,7 +8,7 @@ ;1. Any copy made of this software must include this copyright notice ;in full. ; -;2. I have made no warrantee or representation that the operation of +;2. I have made no warranty or representation that the operation of ;this software will be error-free, and I am under no obligation to ;provide any services, by way of maintenance, update, or otherwise. ; @@ -41,7 +41,7 @@ ;;;time of the error or interrupt. (define dynamic:winds '()) - +;@ (define (dynamic-wind <thunk1> <thunk2> <thunk3>) (<thunk1>) (set! dynamic:winds (cons (cons <thunk1> <thunk3>) dynamic:winds)) @@ -49,7 +49,7 @@ (set! dynamic:winds (cdr dynamic:winds)) (<thunk3>) ans)) - +;@ (define call-with-current-continuation (let ((oldcc call-with-current-continuation)) (lambda (proc) |