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@gnu.org wrote:
- Faré snuerr@tznvy.pbz [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.