chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] list vs dotted-list


From: Christian Kellermann
Subject: Re: [Chicken-users] list vs dotted-list
Date: Thu, 11 Nov 2010 17:14:19 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

* Yi DAI <address@hidden> [101111 16:40]:
> Hi,
> 
> 
> On a recent consideration of the design of Scheme, a question comes to my
> mind:
> 
> Why do we have both list and dotted-list, given that the former is just a
> special case (terminated by nil) of the latter? Can we simply live with the
> latter?

Well the basic building structure here is the cell containing a car
and cdr part. The more complex structures are build upon that cell.
So lists are a special way to chain cells together. The dot notation
reflects this.

Kind regards,

Christian



reply via email to

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