Josh Barrett scripsit: > This seems to imply that the state of variables in the scope the > continuation was captured are restored with the continuation, but the state > of variables in scopes higher up the stack are not. But that doesn't sound > right. If the continuation is copying the entire stack, than every single > lexical variable would have its state restored when the continuation was > restored, all the way up to toplevel.
Sorry, you're right and I was wrong, of course. However, truly global variables are not affected by restoring a captured continuation. -- John Cowan http://www.ccil.org/~cowan co...@ccil.org LEAR: Dost thou call me fool, boy? FOOL: All thy other titles thou hast given away: That thou wast born with. _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users