<div>Apologies again,<br></div><div><br></div><div>Section 18.13 guide explains this:</div><div>" <br>; Don't do this!<br>(define p (place ch (place-channel-get ch)))<br> "<br></div><div><br></div><div>Harry Spier</div>
<br><div class="gmail_quote">On Wed, Mar 13, 2013 at 5:56 PM, Harry Spier <span dir="ltr"><<a href="mailto:vasishtha.spier@gmail.com" target="_blank">vasishtha.spier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Dear list members,<br></div><div><br></div><div>This minimal code snippet crashes DrRacket. </div><div>----------------------</div><div>#lang racket<br>(define test-vector #(0 1 2 3 4 5 6 7 8 9))<br>(define (test-function vectr) (apply + (vector->list (vector-map sqrt vectr))))<br>
<br>(define place1 <br> (place ch (place-channel-put ch (test-function (place-channel-get ch)))))<br></div><div>------------------------------------</div><div><br></div><div>When run in DrRacket (windows Vista Pentium dual core) it executes, the prompt appears in the interactions window and then about 5 or 10 seconds later I get a "program terminated .... ran out of memory" DrRacket popup window. </div>
<div><br></div><div>Thanks,</div><div>Harry Spier</div>
</blockquote></div><br>