From tim at tenkan.org Wed Jun 9 09:21:18 2004 From: tim at tenkan.org (Tim Daly Jr.) Date: Wed, 09 Jun 2004 09:21:18 -0000 Subject: [lgtk-devel] patch for enums.lisp Message-ID: <87ise1nl2u.fsf@hummer.intern> 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: -------------- next part -------------- -- -Tim From mommer at igpm.rwth-aachen.de Tue Jun 15 16:07:33 2004 From: mommer at igpm.rwth-aachen.de (Mario Mommer) Date: Tue, 15 Jun 2004 18:07:33 +0200 Subject: [lgtk-devel] Re: patch for enums.lisp In-Reply-To: <87vfhu77sm.fsf@hummer.intern> References: <87ise1nl2u.fsf@hummer.intern> Message-ID: Tim Daly Jr. wrote: > 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. Applied. Thanks! Regards, Mario.