[plt-scheme] Question chapter 10 box issue

From: emre berat nebioğlu (beratn at gmail.com)
Date: Sun Aug 9 10:53:06 EDT 2009

Hey I have a problem with box.We wrote function called
cyclically-bind-and-interp i understand that function.I mean we have to
create cyclic environment for doing some recursion but i dont understand why
we use "box".Function like that.
(define (cyclically-bind-and-interp bound-id named-expr env)
  (local ([define value-holder (box (numV 1729)) ]
  [define new-env ( aRecSub bound-id value-holder env)]
  [define named-expr-val (interp named-expr new-env)])
  · · ·))


some who knows box issue,can explain me thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090809/fb7cae53/attachment.html>

Posted on the users mailing list.