I don't know about portable R6, but you might try using parameters
instead of set!; parameter values (set via parameterize) are captured
and restored when continuation jumps happen.
If something like that isn't around in R6, you might check to see if
you can do something with dynamic-wind.
hth,
R
Hello everyone,
I am not that good with continuations, and am having trouble accomplishing
what I want - which is quite trick. A little help and wisdom would be
greatly appreciated.
(define-special-computation-block
(let ((i 0))
... computation block 1 ...
(yield) ;;suspend computation
2 matches
Mail list logo