Thanks for researching and explaining this issue! It's helpful for me to think about how to deal with my async server design based on delimited-continuation. I think it's fine if it doesn't capture dynamic environment, even cooler, so that the dynamic state could be well understood and traced by users more easily.
On Tue, Oct 14, 2014 at 10:25 PM, Taylan Ulrich Bayirli/Kammer <taylanbayi...@gmail.com> wrote: > It has been explained on the #guile Freenode channel that this > behavior is indeed desired and not a bug, being argued for by some > authors of papers on delimited continuations: > > http://www.cs.utah.edu/plt/publications/icfp07-fyff.pdf > > http://okmij.org/ftp/papers/DDBinding.pdf > > > In short, no: partial continuations in Guile should not (and do not) > capture their dynamic environment. > > > Thanks to Andy Wingo for the clarification. > > Taylan > > >