[racket] begin and let/cc

From: nicolas.oury at gmail.com (nicolas.oury at gmail.com)
Date: Fri Oct 14 15:40:24 EDT 2011

Dear all,

I don't understand this behaviour:

> (define k #f)
> (begin (let/cc out (set! k out)) 5)
5
> (k #f)
#f
> (let () (let/cc out (set! k out)) 5)
5
> (k #f)
5


Does begin something special regarding continuation?


Best regards,

Nicolas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111014/2caa1701/attachment.html>

Posted on the users mailing list.