[plt-scheme] Meaning of set-box!
On Jan 22, 2007, at 2:59 PM, Eli Barzilay wrote:
> Just a quick note -- my guess is that you're trying to use `(box x)'
> as a replacement for `&x' in C. If this is not the case then ignore
> this post. But if I'm right, then it might help to know that
> `(box x)' is more like
>
> { p = malloc(size_of(x)); *p = x; return p; }
Sorry for the late reply, but I just wanted to add that I, at least,
C language analogies helpful.
Gregory Woodhouse
gregory.woodhouse at sbcglobal.net
Metaphors be with you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070126/da293370/attachment.html>