Hello,<div><br></div><div>I was playing with call/cc, and found that the following interaction crashes DrRacket:</div><div><br></div><div>1) Write in &quot;Definitions&quot; area:</div><div><div>#lang racket</div><div>(define K #f)</div>
<div>(define x (call/cc </div><div>           (lambda (k) </div><div>             (set! K k) </div><div>             10)))</div></div><div><br></div><div>2) Push the &quot;Run&quot; button;</div><div><br></div><div>3) Write in the &quot;Interaction&quot; area:</div>
<div>(K 20)</div><div><br></div><div>-----</div><div><br></div><div>I would expect it to redefine x to 20, or maybe to give the error message:</div><div>&quot;define-values: cannot re-define a constant: x&quot;</div><div>
<br></div><div>But instead it just crashes and closes. Is this expected behavior?</div><div>I&#39;m using Ubuntu 10.04 with the DrRacket 5.0.1 downloaded from the web site.</div><div><br></div><div>Thanks,</div><div><br></div>
<div>Reginaldo</div>