Re: Hints on recursion
- From: Pascal Bourguignon <spam@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 11:15:04 +0100
"Geoffrey Summerhayes" <sumrnot@xxxxxxxxxxxxxxxxx> writes:
> "Pascal Bourguignon" <spam@xxxxxxxxxxxxxxxx> wrote in message news:87psoin26x.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> "matteo d'addio 81" <m_a_t_e_81@xxxxxxxx> writes:
>>
>>>
>>> in my opinion if you substitute '(g h i) to rest you'll get:
>>>
>>> (twice 'e '(e quote (g h i))) = (once 'e quote (g h i))
>>>
>>> or:
>>>
>>> (twice 'e '(e g h i)) = (once 'e g h i)
>>>
>>> Am I wrong?
>>
>> You're right. I'd substitute (g h i) to rest.
>>
>
> <Pascal's explanation elided>
>
> I can't believe I'm actually replying to this nonsense,
> but I've still got a little caffeine left in the system.
> If I say that you can find "hammer" in the dictionary,
> you can argue that there are no words in that book starting
> with a double quotation mark. If I say you can find hammer
> in the dictionary, you can say that the idea that all a
> carpenter needs is a book, because all his tools are in
> it, is a ridiculous idea.
>
> Or, dramatic pause, you can look at the context and assume
> the most rational idea, that "hammer" and hammer are, in
> both sentences, referring to a word located in the damn
> dictionary and get on with enjoying life instead of, I
> don't know, say ... losing sleep over one tiny little
> single quote mark in a NG post by avoiding the obvious.
You're right, but a newbie who never used the REPL, he hasn't the
context that would let him interpret correctly. What if you're
speaking to an ET who never saw a hammer, and never had to hit on
anything ever because they're telekinesists?
Actually, when you write hammer or "hammer", usually we don't know
because our natural language is primarily oral: babies learn it oraly
before they learn to read and write. So we have learned to interpret
sentences at the correct meta-level independently of any formal
notation, with the aid of the context. Unfortunately, here we're
speaking of a formal language, interpreted by a quite limited formal
system (READ EVAL PRINT LOOP), so this discussion is not entirely nonsense.
--
__Pascal Bourguignon__ http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.
.
- References:
- Hints on recursion
- From: zion_zii
- Re: Hints on recursion
- From: Pascal Bourguignon
- Re: Hints on recursion
- From: matteo d'addio 81
- Re: Hints on recursion
- From: Geoffrey Summerhayes
- Re: Hints on recursion
- From: matteo d'addio 81
- Re: Hints on recursion
- From: Pascal Bourguignon
- Re: Hints on recursion
- From: Geoffrey Summerhayes
- Hints on recursion
- Prev by Date: Re: Reddit Guys on the Pros and Cons of Lisp
- Previous by thread: Re: Hints on recursion
- Next by thread: Re: Hints on recursion
- Index(es):
Relevant Pages
|