/code>.  The repl's saved state
is in the file save.repl, or the filename can be passed as an argument to save-repl and restore-repl.
</p>

<p>There is one annoying consequence of using (sublet (rootlet)) for the top-level let:
if you define something in the repl, then load a file that expects to find that thing
in rootlet, it won't:
</p>
<pre class="indented">
&lt;1&gt; (define (func x) (+ x 1)) ; func is in (sublet (rootlet))
<em class="gray">func</em>
&lt;2&gt; (load "use-func.scm") ; file contents: (dis