[plt-scheme] bug with callcc?

From: Wolfgang De Meuter (wdmeuter at vub.ac.be)
Date: 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?


Posted on the users mailing list.