Re: Question of the day N1: DECLAIM and SETF
Marco Antoniotti <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAG0Nw2kOcgrh-aZwwa-VZzEtctcFz1PW2Nr0ZjVM=QK5G_UF9Q@mail.gmail.com> |
Yep. I am an idiot. Sorry for the noise. 😵💫 MA On Tue, Jun 18, 2024 at 7:52 PM Richard M Kreuter <[email protected]> wrote: > 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 > -- Marco Antoniotti, Professor tel. +39 - 02 64 48 79 01 DISCo, University of Milan-Bicocca U14 2043 http://dcb.disco.unimib.it Viale Sarca 336 I-20126 Milan (MI) ITALY _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help