[developers] closure change in ACL 8.0

Stephan Oepen oe at csli.Stanford.EDU
Wed Feb 1 09:15:18 CET 2006


moving from 7.0 to 8.0, i noticed the following now breaks:

  (eval-when #+:ansi-eval-when (:load-toplevel :compile-toplevel :execute)
             #-:ansi-eval-when (load eval compile)
    (let ((n -1))
      (defun reset-failure-count () 
        (setf n -1))

      (defstruct failure
        (id (incf n))
        nature type1 type2 glb path suffix context)))

the `failure' constructor apparently closured `n' in the past and now
no longer does.  i admit i have yet to look up the ANSI spec on this,
in  fact was hoping you could tell me.  either way, i felt you should
consider adding an entry on it in section 6.2 of the release notes.

                                                      all best  -  oe

+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2285 7989
+++     CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++       --- oe at csli.stanford.edu; oe at hf.uio.no; stephan at oepen.net ---

More information about the developers mailing list