Re: CLISP CLOS style warnings

Faré <[email protected]>
Newsgroups gmane.lisp.asdf.devel,gmane.lisp.clisp.devel
Message-ID <CAN7nBXf+UjsF-JOxudcWuL3DA=JXpENuy33Gkyx3B_P+d=p-Zw@mail.gmail.com>
Aren't you working on the first release in many years? That might be a good
time to define some feature.

On Tue, Aug 1, 2017, 11:08 Sam Steingold <sds-mXXj517/[email protected]> wrote:

> > * Faré <[email protected]> [2017-08-01 10:07:33 -0400]:
> >
> >> To mark a generic function as user-extendable, one can now use a
> >> declaration:
> >>
> >> --8<---------------cut here---------------start------------->8---
> >> (defgeneric perform (...)
> >>   (declare #+clisp (dynamically-modifiable))
> >>   ...)
> >> (defgeneric operation-done-p (...)
> >>   (declare #+clisp (dynamically-modifiable))
> >>   ...)
> >> --8<---------------cut here---------------end--------------->8---
> >>
> >> The declaration is now in `hg tip` (but has not been released yet).
> >>
> > Will that declaration cause a warning or error on older versions of
> > clisp? If yes, what read-time conditional more precise than #+clisp
> > can I use to only enable on recent enough versions of clisp?
>
> My first reaction was
>
> --8<---------------cut here---------------start------------->8---
> (declaim (declaration dynamically-modifiable))
> --8<---------------cut here---------------end--------------->8---
>
> but for some reason it does not work with defgeneric.
> Sorry.
>
> --
> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
> http://steingoldpsychology.com http://www.childpsy.net
> http://www.memritv.org
> https://jihadwatch.org http://camera.org http://jij.org
> Only a fool has no doubts.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.