<html><head><base href="x-msg://923/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div>In ASL: </div><div><br></div><div>(define-struct city (a b c))</div><div><br></div><div>(shared ((neamt (make-city 'neamt 234 (list (list lasi 87))))</div><div> (lasi (make-city 'lasi 226 (list (list "!!!vaslui!!!" 92) (list neamt 87)))))</div><div> (list neamt lasi))<br><br></div><div>In Module: </div><div><br></div><div><div>#lang scheme</div><div><br></div><div>(define-struct city (a b c))</div><div><br></div><div>(define-values (neamt lasi)</div><div> (shared ((neamt (make-city 'neamt 234 (list (list lasi 87))))</div><div> (lasi (make-city 'lasi 226 (list (list "!!!vaslui!!!" 92) (list neamt 87)))))</div><div> (values neamt lasi)))</div></div><div><br></div><div><br></div><br><div><div>On Nov 16, 2009, at 7:25 AM, alon arditi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">im trying to configure constants(strucuts) that have other constants in theyre parameters and vice versa<br> <br>for example<br>(define<span class="Apple-converted-space"> </span><strong>neamt</strong>(make-city 'neamt 234 (list(list<span class="Apple-converted-space"> </span><strong>lasi</strong><span class="Apple-converted-space"> </span>87))))<br>(define<span class="Apple-converted-space"> </span><strong>lasi</strong>(make-city 'lasi 226 (list(list vaslui 92)(list<span class="Apple-converted-space"> </span><strong>neamt</strong><span class="Apple-converted-space"> </span>87))))<br> <br>i get error for the first decleration that lasi is not defined<br> <br>what to do? please help me<br><br><hr>Windows Live: Keep your friends up to date<span class="Apple-converted-space"> </span><a href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010" target="_new">with what you do online.</a><span class="Apple-converted-space"> </span>_________________________________________________<br> For list-related administrative tasks:<br> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br></div></blockquote></div><br></body></html>