Re: Question of the day N1: DECLAIM and SETF
Richard M Kreuter via Sbcl-help <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Marco Antoniotti <[email protected]> wrote: > CL-USER> (declaim (ftype (function (t) t)) (setf fooxx)) > WARNING: unrecognized declaration (SETF FOOXX) > ; No value > > Now. AFAIU this should be allowed (yes, the function FOOXX does not take any parameters). Hi Marco, That FTYPE declaration specifier establishes that zero functions have the type, (FUNCTION (T) T). Probably a typo for this, right? (declaim (ftype (function (t) t) (setf foox))) Regards, Richard