<div dir="ltr"><div>Hi all,</div><div><br></div><div>i stumbled upon srfi 212 which speaks of aliases.<br>" An alias definition transfers the binding of one
identifier to another, effectively aliasing the identifier."</div><div><a href="https://srfi.schemers.org/srfi-212/srfi-212.html">https://srfi.schemers.org/srfi-212/srfi-212.html</a></div><div><br></div><div>I think that would be a great help for the concept of libraries/namespaces.</div><div>In the r7rs define-library concept, you can import a library and have access to its "exported" symbols.</div><div><br></div><div>If these exported symbols are aliases, we could have hot-reloading redefinition of a library's symbols (redefining a function) and have this change reflected on the places where it's used.</div><div><br></div><div>This is one feature from clojure I really missed in scheme.<br></div><div>In my work on s7-imgui I do this but with the hack of making the "imported"<br></div><div> function a macro that resolves the functions' symbol from the environment where it's defined.</div><div>But, aliases would be a more subtle solution.</div><div><br></div><div>-- excuse the long text, it's quite late yet something on my mind for quite a while<br></div><div><br></div><div>Christos<br></div></div>