Message from discussion
I never realized the funny difference between nil and () before.
Received: by 10.42.141.194 with SMTP id p2mr15275529icu.8.1320357219515;
Thu, 03 Nov 2011 14:53:39 -0700 (PDT)
MIME-Version: 1.0
Path: p6ni67828pbn.0!nntp.google.com!news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <k...@kylheku.com>
Newsgroups: comp.lang.lisp
Subject: Re: I never realized the funny difference between nil and () before.
Date: Thu, 3 Nov 2011 21:53:39 +0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <20111103174533.65@kylheku.com>
References: <20111103161220.508@kylheku.com>
<1828648624342047156.903495tfb-tfeb.org@news.eternal-september.org>
Injection-Date: Thu, 3 Nov 2011 21:53:39 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="UCk3K/YilCUd19+i749f3A";
logging-data="24213"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX18BWuD44jcW2jS52cQQ4g3hXz74eHomSzk="
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:YqVeitaZx7n0xZdmm+aBM9d6amQ=
On 2011-11-03, Tim Bradshaw <t...@tfeb.org> wrote:
> Kaz Kylheku <k...@kylheku.com> wrote:
> .
>>
>> By "not special case it" I think you mean that it actually looks like a symbol,
>> or cons cell, etc.
>>
> Yes. The HOPL paper describes this, in fact, and it seems to be MACLISP
> which I was remembering (a description of - I never used it). Interestingly
> tha (car nil) = nil &c thing seems to have come from InterLisp, and wasn't
> always true in other Lisps: I didn't know that.
Really. Let's make a quick peek at the Lisp 1.5 manual.
Ah, here we go. Page 2:
"car of an atomic symbol is undefined"
Not every good idea in Lisp was discovered early, like allowing (car nil) and
(cdr nil).
This has me googling for "A Short Ballad Dedicated to The Growth Of Programs"
by Ashwin Ram. :)