help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading a variable from the user


From: PJ Weisberg
Subject: Re: reading a variable from the user
Date: Wed, 10 Oct 2012 23:08:49 -0700

On Wednesday, October 10, 2012, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> The difference, as far as I know, is that in the first method you can
> have multiple values per list (so something like (william "William"
> "White" "xx@xxxxxx.org")), whereas the dotted cons cell notation (the
> second one) only allows two atoms.

FYI, '(william "William" "White" "xx@xxxxxx.org") is exactly the same as '(william . ("William" "White" "xx@xxxxxx.org"))

For that matter it's the same as '(william . ("William" . ("White" . ("xx@xxxxxx.org" . nil)))).  A list is just a chain of cons cells.

--
-PJ

Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]