It works well. Thanks!<div><br></div><div>- Joe<br><div><div><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 5:24 PM, Jon Rafkind <span dir="ltr"><<a href="mailto:rafkind@cs.utah.edu">rafkind@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
#lang racket<br>
<br>
(define-struct foo (x y) #:mutable)<br>
(define foo-instance (make-foo 1 2))<br>
(set-foo-x! foo-instance 5)<br>
(foo-x foo-instance)<div><div></div><div class="h5"><br>
<br>
On 06/24/2010 06:09 PM, Insik Cho wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
<pre>Hi buddies,
When I make an instance of a structure, I want to modify of the value of
members of the instance.
So, can I refer a member of a structure as a referent to update it directly?
- Joe
</pre>
</div></div><pre><fieldset></fieldset>
_________________________________________________
For list-related administrative tasks:
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a></pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div></div>