[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
cleaner.
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.
Michael.
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/04
- Re: Help with recursive destructive function, Michael Heerdegen, 2018/06/04
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/06
- Re: Help with recursive destructive function,
Michael Heerdegen <=
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/06
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/06
- Re: Help with recursive destructive function, Michael Heerdegen, 2018/06/06
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/06
- Re: Help with recursive destructive function, Michael Heerdegen, 2018/06/06
- Re: Help with recursive destructive function, Michael Heerdegen, 2018/06/06
- Re: Help with recursive destructive function, Stefan Monnier, 2018/06/07
- Re: Help with recursive destructive function, Eric Abrahamsen, 2018/06/07