[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applying intern-soft to a symbol
From: |
N. Raghavendra |
Subject: |
Re: Applying intern-soft to a symbol |
Date: |
Wed, 26 Apr 2017 01:21:55 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
At 2017-04-24T10:41:43-07:00, John Mastro wrote:
> The reader interned the symbol `quux' into the default obarray while
> reading the expression (intern-soft 'quux). Reading occurs before
> evaluation, so `quux' had been interned before the actual call to
> `intern-soft' occurred.
Thanks for the clarification.
I didn't understand that interning was done by the reader, though this
is clearly mentioned in the manual: `If the obarray does not contain a
symbol with that name, the reader makes a new symbol and adds it to the
obarray. Finding or adding a symbol with a certain name is called
“interning” it, and the symbol is then called an “interned symbol”.'
Raghu.
--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/