<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16437"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=449392022-14102011><FONT color=#0000ff
size=2 face=Arial>As far as I know, begin is the only form being spliced. Not
only at top level, but also within bodies of procedures and let-like forms.
Racket specialists may tell you more about it. You may want to visit the
following page: <A
href="http://docs.racket-lang.org/reference/begin.html?q=begin#(form._((quote._~23~25kernel)._begin">http://docs.racket-lang.org/reference/begin.html?q=begin#(form._((quote._~23~25kernel)._begin</A>))</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=449392022-14102011><FONT color=#0000ff
size=2 face=Arial>Jos</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> nicolas.oury@gmail.com
[mailto:nicolas.oury@gmail.com] <BR><B>Sent:</B> viernes, 14 de octubre de 2011
23:17<BR><B>To:</B> Jos Koot<BR><B>Cc:</B>
users@racket-lang.org<BR><B>Subject:</B> Re: [racket] begin and
let/cc<BR></FONT><BR></DIV>
<DIV></DIV>Thank you so much. That clarifies it.
<DIV>Is there a list of forms that splice into their context?<BR><BR>
<DIV class=gmail_quote>On Fri, Oct 14, 2011 at 9:27 PM, Jos Koot <SPAN
dir=ltr><<A
href="mailto:jos.koot@telefonica.net">jos.koot@telefonica.net</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV class=im>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial>Jos</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:users-bounces@racket-lang.org"
target=_blank>users-bounces@racket-lang.org</A> [mailto:<A
href="mailto:users-bounces@racket-lang.org"
target=_blank>users-bounces@racket-lang.org</A>] <B>On Behalf Of </B><A
href="mailto:nicolas.oury@gmail.com"
target=_blank>nicolas.oury@gmail.com</A><BR><B>Sent:</B> viernes, 14 de
octubre de 2011 21:40<BR><B>To:</B> <A href="mailto:users@racket-lang.org"
target=_blank>users@racket-lang.org</A><BR><B>Subject:</B> [racket] begin and
let/cc<BR></FONT><BR></DIV>
<DIV></DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV>Dear all,</DIV>
<DIV><BR></DIV>
<DIV>I don't understand this behaviour:</DIV>
<DIV><BR></DIV>
<DIV>> (define k #f)</DIV>
<DIV>> (begin (let/cc out (set! k out)) 5)</DIV>
<DIV>5</DIV>
<DIV>> (k #f)</DIV>
<DIV>#f</DIV>
<DIV>> (let () (let/cc out (set! k out)) 5)</DIV>
<DIV>5</DIV>
<DIV>> (k #f)</DIV>
<DIV>5</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Does begin something special regarding continuation?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Best regards,</DIV>
<DIV><BR></DIV>
<DIV>Nicolas.</DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all>
<DIV><BR></DIV>-- <BR>Sent from an IBM Model M, 15 August
1989.<BR></DIV></BODY></HTML>