<div dir="ltr"><div>Hi Lassi,</div><div><br></div><div>Thanks for your response.</div><div><br></div><div>Manual load semantics is what you get from Gambit.</div><div><br></div><div>The reason for using Gerbil as a layer on top of Gambit, is to get automatic recompile, automatic reimport, automatic reevaluate as automation of exactly that is essential to incremental dev. ""This (detail) is not rocket science"", it's perfectly doable, so I wonder was something switched off or have I misunderstood what Gerbil is etc., so looking forward to Vyzo's clarification.</div><div><br></div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, 3 Oct 2019 at 23:12, Lassi Kortela <<a href="mailto:lassi@lassi.io">lassi@lassi.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">> I was trying to go through the obvious moves of incremental dev<br>
> <br>
>     (import "a")<br>
> <br>
>     So far, the correct thing happens: The text "Hello world" is printed out.<br>
> <br>
>     4. Now, with gsi running, separately in another xterm we alter a.ss<br>
> <br>
>     5. In the gsi REPL, we run again:<br>
> <br>
>     (import "a")<br>
> <br>
> What happens now is a mysterious nothing!<br>
> <br>
> This shows that Gerbil does not automatically reimport updated dependencies.<br>
<br>
For better or worse, many (perhaps most) Scheme implementations behave <br>
this way. (import ...) is different from (load ...) and does not reload <br>
already-loaded modules even if you have edited them.<br>
<br>
Often one way to solve it is to use `load` after your edits:<br>
<br>
     (load "a.ss")<br>
     (import "a")<br>
<br>
I don't know whether this is the "right" way to do it.<br>
<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://mailman.iro.umontreal.ca/cgi-bin/mailman/listinfo/gambit-list" target="_blank" rel="noreferrer">https://mailman.iro.umontreal.ca/cgi-bin/mailman/listinfo/gambit-list</a><br>
</blockquote></div>