[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with recursive destructive function

From: Michael Heerdegen
Subject: Re: Help with recursive destructive function
Date: Wed, 06 Jun 2018 23:58:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <address@hidden> writes:

> How would you feel about gv-ref itself doing a check?
> (if (and (eq 'closure (caar place))
>          (eq 'closure (cadr place)))
>     place
>   (gv-letplace ...etc...)
> Too hacky?

`functionp' would probably better, since it's not forbidden to be used
in dynamically bound Lisp.  Most place expressions will not contain
something functionp I think.  Using a unique tag would probably be

I'm not sure if having `gv-ref-p' would be useful, I can imagine that it
could, but have myself used this only once or twice.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]