[asdf-devel] Re: "Solved"

Faré fahree at gmail.com
Tue Oct 22 20:09:48 UTC 2013


On Tue, Oct 22, 2013 at 3:55 PM, Zach Beane <xach at xach.com> wrote:
> Faré <fahree at gmail.com> writes:
>
>> I suppose the solution is for search-for-system-definition to treat
>> sysdef-preloaded-system-search specially and put it at the end of the
>> search, just like it magically puts find-system-if-being-defined
>> first.
>
> Does that mean this behavior can only be controlled by modifying the
> internals of ASDF? Once a system has been "preloaded", it must always be
> found in preference to any other system through any other mechanism? Is
> there a way to un-preload something?
>
No, that's the opposite: if it's preloaded, it should *never* be found
in preference to anything else, it's just available in the image as a
fallback in case no source code was found. And I don't want people to
have to retroactively modify quicklisp so it bumps
sysdef-preloaded-system-search in last position, either. Therefore,
I'm having sysdef-preloaded-system-search be a magic case at the end
of search-for-system-definition. Notice: not at the beginning. At the
beginning, we magically have find-system-if-being-defined to avoid
infinite recursion.

preloaded means: the code is already in the image, though the source
might not be available.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
"The direct use of force is such a poor solution to any problem, it is
generally employed only by small children and large nations." – David Friedman



More information about the asdf-devel mailing list