bug#18356: Should partial continuations capture the dynamic environment?

2014-08-29 Thread Taylan Ulrich Bayirli/Kammer
On Guile 2.0.11: scheme@(guile-user)> (define (capture-dynenv) (let ((tag (make-prompt-tag "dynenv-capture"))) (call-with-prompt tag (lambda () ((abort-to-prompt tag)))

bug#18356: Should partial continuations capture the dynamic environment?

2014-08-29 Thread Taylan Ulrich Bayirli/Kammer
Some more examples; this one works fine: scheme@(guile-user)> (define (with-captured-dynenv proc) (let ((tag (make-prompt-tag "dynenv-capture"))) (call-with-prompt tag (lambda ()