[Top][All Lists]

[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 <address@hidden> 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" "address@hidden")), whereas the dotted cons cell notation (the
> second one) only allows two atoms.

FYI, '(william "William" "White" "address@hidden") is exactly the same as '(william . ("William" "White" "address@hidden"))

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


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]