<html><head></head><body>Not exactly. The feature I (was trying to) resolve at compile time was just ECL versus other implementation. Byte compiler versus not would be resolved at run time.<br>
Cheers<br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.<br><br><div class="gmail_quote">"Faré" <fahree@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">On Fri, Sep 9, 2011 at 18:53, Juan Jose Garcia-Ripoll<br /><juanjose.garciaripoll@googlemail.com> wrote:<br />> On Sat, Sep 10, 2011 at 12:41 AM, Faré <fahree@gmail.com> wrote:<br />>><br />>> On Fri, Sep 9, 2011 at 18:33, Robert Goldman <rpgoldman@sift.info> wrote:<br />>> > Question: any objection to modifying your patch so that we have<br />>> > something like:<br />>> ><br />>> > #+ecl<br />>> > (defun use-ecl-byte-compiler-p ()<br />>> > (member :ecl-bytecomp *features*))<br />>> > #-ecl<br />>> > (defun use-ecl-byte-compiler-p ()<br />>> > nil)<br />>> ><br />>> > and then call the function in place of the member query in other code?<br />>> ><br />>> No. Juanjo will confirm, but<br />>> IIUC it can change at runtime after having loaded
ASDF, so it's<br />><br />> Yes, the change may happen after ASDF is loaded, without problems.<br />><br />>><br />>> #+ecl<br />>> (defun use-ecl-bytecode-compiler-p ()<br />>> (member :ecl-bytecmp *features*))<br />><br />> Isn't this the same as the code above?<br />><br />If by "the code above" you mean your original patch and my merge<br />thereof, then yes it is the same, with just a tiny bit of refactoring.<br />If by "the code above" you mean Robert's version with #+ecl, then no,<br />it's different, since Robert's version resolves the features at<br />read-time; by the time the features are updated, it's then too late<br />for ASDF to change its mind.<br /><br />—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• <a href="http://fare.tunes.org">http://fare.tunes.org</a><br /></pre></blockquote></div></body></html>