[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lispref add-to-list - doc is unnecessary convoluted
From: |
Arthur Miller |
Subject: |
Re: Lispref add-to-list - doc is unnecessary convoluted |
Date: |
Fri, 04 Dec 2020 04:35:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Robin Tarsiger <rtt@dasyatidae.com> writes:
> Arthur Miller wrote:
>> I think it is more clear to use word 'list' instead of 'symbol' (element
>> is a symbol too for example). Not least because docs later says: "better
>> be a list". It clarifies intentions, and hopefully removes the need to say
>> things like 'better be a list'.
>
> The first argument is not itself a list. The value (as in symbol-value) of
> the first argument is expected to be a list. The first sentence of the
> documentation has that many levels of indirection because that's how many
> levels of indirection there actually are in the behavior of the function.
> Your new text does not describe it correctly.
Indeed after thinking more, I agree, the value should be a list; It
might be important to point it out :-). Sorry :-)
But can we express it somewhat simpler? LIST-VALUE? Is it more
descriptive than SYMBOL or LIST-VAR.
- Lispref add-to-list - doc is unnecessary convoluted, Arthur Miller, 2020/12/03
- Re: Lispref add-to-list - doc is unnecessary convoluted, Christopher Dimech, 2020/12/03
- Re: Lispref add-to-list - doc is unnecessary convoluted, Robin Tarsiger, 2020/12/03
- Re: Lispref add-to-list - doc is unnecessary convoluted, Eli Zaretskii, 2020/12/04
- Re: Lispref add-to-list - doc is unnecessary convoluted, Arthur Miller, 2020/12/04
- Re: Lispref add-to-list - doc is unnecessary convoluted, Robin Tarsiger, 2020/12/04
- Re: Ad-hoc list structure tutorializing (was: Lispref add-to-list - doc is unnecessary convoluted), Robin Tarsiger, 2020/12/04
- Re: Ad-hoc list structure tutorializing, Stefan Monnier, 2020/12/04
- Re: Ad-hoc list structure tutorializing, Christopher Dimech, 2020/12/04
- Re: Ad-hoc list structure tutorializing, Eli Zaretskii, 2020/12/05
- Re: Ad-hoc list structure tutorializing, Richard Stallman, 2020/12/06
- Re: Ad-hoc list structure tutorializing, Robin Tarsiger, 2020/12/06