[lgtk-devel] patch for enums.lisp
Tim Daly Jr.
tim at tenkan.org
Wed Jun 9 09:21:18 UTC 2004
The defenum macro in enums.lisp produces a deftype form with an
anonymous function in the satisfies type specifier. The satisfies
type specifier has to be a symbol, according to the CLHS.
( http://www.lisp.org/HyperSpec/Body/typspe_satisfies.html )
SBCL 0.8.10.11 and the CMUCL November 2003 snapshot both signalled an
error when I tried to run the tables-hw.lisp example because of this.
All the attached patch does is make a named function with defun and
use it in the deftype.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: satisfies-symbol.patch
Type: text/x-patch
Size: 2201 bytes
Desc: give satisfies a symbol
URL: <https://mailman.common-lisp.net/pipermail/lgtk-devel/attachments/20040609/a4324d8c/attachment.bin>
-------------- next part --------------
--
-Tim
More information about the lgtk-devel
mailing list