[Ecls-list] multiple-value-bind strange behaviour

Stas Boukarev stassats at gmail.com
Fri Jul 30 05:38:22 UTC 2010


Consider the following file:
(defun foo ())

(defun location (function)
  (multiple-value-bind (file pos) (ext:compiled-function-file function)
    (list file pos)))

Load it:
> (load (compile-file "foo"))
> (location #'foo)
("foo.lisp" NIL)
> (ext:compiled-function-file #'foo)   
"foo.lisp"
0

-- 
With Best Regards, Stas.




More information about the ecl-devel mailing list