<div dir="ltr">I'm very new to gambit and a bit confused by this behavior.  I'm not sure if it's a Spheres specific issue or if I'm missing something more obvious.  Any help pointing me in the right direction would be greatly appreciated.<div>
<br></div><div>I've installed gambit v4.7.1 and Scheme Spheres v0.4 just as the quick start guide recommends.</div>
<div><br></div><div>Everything seems to be working, for example I can create a new project with <font face="courier new, monospace">'sfusion new -g minimal foo'</font> and <font face="courier new, monospace">'sake host:run' </font>works as expected.</div>
<div><br></div><div>What confuses me is that from the repl I can<font face="courier new, monospace"> enter '(##import core: testing)'</font> and then <font face="courier new, monospace">'(check 42 => 42)'</font> and everything works as expected.</div>
<div><br></div><div>But if I create a file:</div><div><br></div><div><font face="courier new, monospace">    ; test.scm</font></div><div><font face="courier new, monospace">    (##import core: testing)</font></div><div><font face="courier new, monospace">    (check 42=> 42)</font></div>
<div><br></div><div>Then run<font face="courier new, monospace"> 'gsi test.scm'</font> I get<font face="courier new, monospace"> '***ERROR -- Unbound variable: Check'</font>.</div><div><br></div><div>I don't understand why there's a difference in behavior between the repl and batch mode when using gsi?</div>
<div><div><br></div>-- <br>Michael Greenly<br><a href="http://logic-refinery.com" target="_blank">http://logic-refinery.com</a><br>

</div></div>