<div dir="ltr">Can you elaborate on that?<div><br></div><div>The stance on packages found in the mentioned Quora post is based on the old misconception about packages being modules, or "software packages" in the Linux distribution sense. They're not. They are really just namespaces, containers of symbols. So it does not make any sense, to me, that they have versions. Software has versions, not names.</div><div><br></div><div>I think it *is* already possible, even if no convenient machinery for it exists, to load the same symbols under different packages (i.e. to use different names for different versions of the same concepts).</div><div><br></div><div>(defpackage p ...)</div><div>(load (compile-file "p-1.0.lisp"))</div><div>(rename-package "P" "P-1.0")</div><div><div>(defpackage p ...)</div><div>(load (compile-file "p-1.1.lisp"))</div></div><div><div>(rename-package "P" "P" "P-1.1")</div><div><br></div><div>p-*.lisp start with (in-package :p)<br></div><div><br></div><div>Then you can compile code against p (latest version), p-1.0 and/or p-1.1.</div><div>Of course each p-*.lisp must be "nice" - only define things in package p.</div><div></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 May 2016 at 11:36, Stelian Ionescu <span dir="ltr"><<a href="mailto:sionescu@cddr.org" target="_blank">sionescu@cddr.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2016-05-18 at 00:21 -0400, Jean-Claude Beaudoin wrote:<br>
> Hi CL Pros,<br>
><br>
> I just came across a post on Quora<br>
</span>> <<a href="https://www.quora.com/Where-did-we-go-wrong-Why-didnt-Common-Lisp-fi" rel="noreferrer" target="_blank">https://www.quora.com/Where-did-we-go-wrong-Why-didnt-Common-Lisp-fi</a><br>
> x-the-world/answer/Robert-Smith-9?srid=dnzK><br>
<span class="">> by<br>
> Robert Smith where he mentions the idea of assigning some sort of<br>
> "version"<br>
> to Common Lisp packages in order to improve code configuration<br>
> control.<br>
><br>
> This seems to me to be a pretty neat and interesting idea!<br>
><br>
> Has anyone of you explored such a concept, or know of anyone that<br>
> did?<br>
> Or, is anyone of you curious about it?<br>
<br>
</span>It's a very bad idea to do code versioning in the linker/loader in<br>
order to load two versions at the same time. Saying it makes code-reuse<br>
hard is preposterous.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Stelian Ionescu a.k.a. fe[nl]ix<br>
Quidquid latine dictum sit, altum videtur.<br>
<br>
<br>
</font></span></blockquote></div><br></div>