I get several warnings in SBCL 1.0.20 that are related to use of
dynamic-extent.  For example, here it complains about 'COLLECT' is an
indefined variable:

(defun get-query-instances (constraints)
  "Get a list of instances according to the query constraints"
  (declare (dynamic-extent constraints))
  (let ((list nil))
    (flet ((collect (inst)
         (push inst list)))
      (declare (dynamic-extent collect))
      (map-class-query #'collect constraints))))

There are 5 warnings for patterns just like the one above.

Should (dynamic-extent collect) be in fact (dynamic-extent #'collect) ?

Yarek
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to