[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash strangeness
From: |
Pascal J. Bourguignon |
Subject: |
Re: hash strangeness |
Date: |
Sun, 02 Nov 2014 23:25:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Tom <adatgyujto@gmail.com> writes:
> Thien-Thi Nguyen <ttn <at> gnu.org> writes:
>
>>
>> () Tom <adatgyujto <at> gmail.com>
>> () Sun, 2 Nov 2014 12:09:31 +0000 (UTC)
>>
>> At least I did not expect that. :)
>>
>> a quote before literal data w/ latent intent to modify?
>
> I expect '(a b c) to create a new list with these symbols
> every time it runs.
You expect wrong.
> The current behavior (at least in the given context) seems
> unuseful, though I'm not a lisp guru, so it's possible
> this behavior has its uses in other cases.
Use list, not quote, if you want to create a new list:
(list 'a 'b 'c)
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
- hash strangeness, Tom, 2014/11/02
- Re: hash strangeness, Tom, 2014/11/02
- Re: hash strangeness, Thien-Thi Nguyen, 2014/11/02
- Re: hash strangeness, Tom, 2014/11/02
- Message not available
- Re: hash strangeness,
Pascal J. Bourguignon <=
- Message not available
- Re: hash strangeness, Barry Margolin, 2014/11/02
- Re: hash strangeness, Tom, 2014/11/03
- Re: hash strangeness, Robert Thorpe, 2014/11/03
- Re: hash strangeness, Michael Heerdegen, 2014/11/03
- RE: hash strangeness, Drew Adams, 2014/11/03
- Re: hash strangeness, Marcin Borkowski, 2014/11/04