; foo.scm<br><br>(magical-define x 100)<br><br>; bar.scm<br><br>(define y (+ x 10)) ; <br><br>; all.scm<br><br>(load "foo")<br>(load "bar") ; <-- I want this here to be a syntax error<br><br>Is there a way I make defines/variables _local_ to a single *.scm file? I promise to not 'include it, and only 'load it. In essence, I'm looking for the equiv of static vars in C. What I don't want to do is something like:<br>
<br>;foo .scm<br>(lambda ()<br>  ... all of foo.scm<br>)<br><br>; ... since there are other parts of foo.scm that I do want to be visible.<br><br>Yes, I do realize that what I'm asking for sounds like the basics of a module system.<br>
<br>Thanks!<br>