[asdf-devel] Minor simplification

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat Feb 5 16:13:50 UTC 2011


On Sat, Feb 5, 2011 at 4:06 PM, Faré <fahree at gmail.com> wrote:

>
> I massaged your patch (notably made compile-file* a gf to move your
> code to an :around method rather than a manual wrapper), tested it,
> and committed as 2.012.5. Enjoy!


Fare, could you please go back to the other method I posted. This one does
not allow one to *CHANGE* the way COMPILE-FILE* behaves.

I profoundly dislike generic functions API precisely for this reason. There
is a base function, someone adds an around method and what about the next
around? How do you remove the previous one?

The other solution based on a simple closure is simpler, has a smaller
overhead and allows one to fall back to the original method, reinstating
COMPILE-FILE* definition.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20110205/e710a126/attachment.html>


More information about the asdf-devel mailing list