[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding Lists/Sequences
From: |
David Kastrup |
Subject: |
Re: Adding Lists/Sequences |
Date: |
Thu, 25 Sep 2008 22:34:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Tim X <timx@nospam.dev.null> writes:
> 1. Modifying 'literal' lists is usually risky. Weird things can happen
> because on some levels, you are modifying what is best considered a
> constant.
That's all very vague and fuzzy, but there are no vague or fuzzy
semantics involved.
> This is the difference between '(1 2 3) and (list 1 2 3).
The difference is that the first form is turned into a list by the Lisp
reader, each time it is passed through the reader (in most cases, once).
In interactive use, it is perfectly equivalent to the second form. When
put into function definitions or bound to anything, it isn't.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Adding Lists/Sequences, (continued)
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Re: Adding Lists/Sequences, Nikolaj Schumacher, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- RE: Adding Lists/Sequences, Drew Adams, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Re: Adding Lists/Sequences, David Kastrup, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- RE: Adding Lists/Sequences, Drew Adams, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Message not available
- Re: Adding Lists/Sequences, Tim X, 2008/09/25
- Re: Adding Lists/Sequences,
David Kastrup <=
- Re: Adding Lists/Sequences, Pascal J. Bourguignon, 2008/09/25