Piers Cawley <[EMAIL PROTECTED]> wrote:
> And, dammit, making a full continuation isn't something a programmer
> should do lightly.
BTW I had to change your example code (you remember it for sure, it's in
t/op/gc_13 inv CVS)
(define (choose . all-choices)
(let ((old-fail fail))
(call-with-current-continuation
...
I had to use a distinct second "choose" closure to make that code
working again during changes for the indirect reegister addressing.
# XXX need this these closures have different state
newsub choose, .Closure, _choose
y = choose(arr2)
I presume it's technically correct, as these two closures have different
"choices" arrays in their lexical pads.
leo