[Ecls-list] Feedback needed: interpretation question

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu May 6 21:06:59 UTC 2010


Assume you find this code

(defun foo (x)
  (declare (fixnum x))
 ...
  (setf x (+ x 2))
 ...)

Do you interpret the declaration to affect only the INPUT value or the
variable X as a whole? I would say the first case, but so far ECL has been
using the second interpretation.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100506/2ca3870e/attachment.html>


More information about the ecl-devel mailing list