The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.lisp
From: Ankur <an...@lipidity.com>
Date: Thu, 03 Nov 2011 05:12:21 GMT
Local: Thurs, Nov 3 2011 1:12 am
Subject: Re: I never realized the funny difference between nil and () before.
* fortunatus <daniel.elia...@excite.com>
> I find the basic concept a little odd in itself:
[1]> (symbolp ':hi)
> CL-USER> (symbolp 'nil)
T [2]> (symbolp :hi) T > CL-USER> (symbolp '( ))
Why? () is the same as NIL, isn't it?
> T <-- this freaks me out!! > CL-USER> (symbolp ( )) > T > CL-USER> (symbolp '( nil ))
(listp '(nil)) => T
> NIL <-- finally back to normalcy - whew It's a list with one element.
> A list is not a symbol but the empty list is a symbol?!! The nothing-
It's defined that way, isn't it? What's freaky about it?
> value is a symbol? That freaks me out! --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||