[plt-scheme] bug with callcc?

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


I think the following code should produce an infinite loop.

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

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

Posted on the users mailing list.