<div class="gmail_extra">On Sun, Dec 2, 2012 at 9:11 PM, Pascal Costanza <span dir="ltr"><<a href="mailto:pc@p-cos.net" target="_blank">pc@p-cos.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div>4) DEFMETHOD doesn't call MAKE-METHOD-LAMBDA to determine the method function body. [My guess is that this is not easy to change due to the deviation from the MOP specification in how method functions are called.]</div>

<div></div></blockquote></div><br>I will look into the other issues, but this is definitely not true. In ecl/src/clos/method.lsp, line 82, </div><div class="gmail_extra">...</div><div class="gmail_extra"><div class="gmail_extra">

<span class="" style="white-space:pre">       </span>  (multiple-value-bind (fn-form options)</div><div class="gmail_extra"><span class="" style="white-space:pre">     </span>      (make-method-lambda generic-function method lambda-form env)</div>

<div><span class="" style="white-space:pre">    </span>    (when documentation</div><div><span class="" style="white-space:pre">    </span>      (setf options (list* :documentation documentation options)))</div><div><span class="" style="white-space:pre"> </span>    (multiple-value-bind (wrapped-lambda wrapped-p)</div>

<div><span class="" style="white-space:pre">            </span>(simplify-lambda name fn-form)</div><div>...</div><div><br></div><div>ECL calls make-method lambda and then looks at the output to see whether it can be transformed into the C-optimized dispatch that we use.</div>

<div><br></div><div>It would be important to have a test case that shows when make-method-lambda is not working. What in particular made you think so?</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">

Juanjo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>


</div>