<div dir="ltr">Generally you want to |load| the library, and |include| is header definition file. Though that's just an arbitrary convention; the point is that after having fed Gambit with your digest library definitions, you want to switch back to the root namespace, I would believe you do that by (namespace) .<div>

<br></div><div><div>A procedure digest-u8vector defined in the digest namespace, is universally accessible as digest#digest-u8vector| .</div></div>
<div><br></div><div>Alternatively, use Black Hole and it takes care of all namespace matters, see <a href="https://mercure.iro.umontreal.ca/pipermail/gambit-list/2012-November/006188.html">https://mercure.iro.umontreal.ca/pipermail/gambit-list/2012-November/006188.html</a> .<br>

</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/15 Dirk Theisen <span dir="ltr"><<a href="mailto:d.theisen@objectpark.org" target="_blank">d.theisen@objectpark.org</a>></span><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi!<br>
<br>
I am experiencing problems including digest.scm in client code.<br>
<br>
Could someone please enlighten me?<br>
<br>
If I do<br>
<br>
(include "~~lib/digest#.scm")<br>
<br>
I cannot access the exported functions.<br>
<br>
If I do<br>
<br>
(include "~~lib/digest.scm")<br>
<br>
I am getting errors of string-append being a macro etc. and all symbols created in my code is now in the digest# namespace.<br>
<br>
Yes, I tried to goggle this.<br>
<br>
I found <a href="http://dynamo.iro.umontreal.ca/wiki/index.php/Namespaces" target="_blank">http://dynamo.iro.umontreal.ca/wiki/index.php/Namespaces</a> but it does not mention how to import files that use namespaces.<br>



<br>
Greetings,<br>
   Dirk<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://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div></div>