Thank you so much. That clarifies it. Is there a list of forms that splice into their context?
On Fri, Oct 14, 2011 at 9:27 PM, Jos Koot <jos.k...@telefonica.net> wrote: > ** > In addition to my previous mail:put the code in the definitions window of > DrRacket and use the macro stepper to see how the code is expanded. > Jos > > ------------------------------ > *From:* users-boun...@racket-lang.org [mailto: > users-boun...@racket-lang.org] *On Behalf Of *nicolas.o...@gmail.com > *Sent:* viernes, 14 de octubre de 2011 21:40 > *To:* users@racket-lang.org > *Subject:* [racket] begin and let/cc > > 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. > -- Sent from an IBM Model M, 15 August 1989.
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users