[plt-scheme] bug with callcc?

Wolfgang De Meuter wdmeuter at vub.ac.be
Mon Dec 8 14:53:29 EST 2008


Hello,

I think the following code should produce an infinite loop.

(begin
   (define k '())
   (* 5 (call-with-current-continuation
           (lambda (cont)
             (set! k cont)
             2)))
   (k 3))

In R6RS is does, but in PrettyBig it produces 15. A bug?



More information about the plt-scheme mailing list