guile-user
[Top][All Lists]
Advanced

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

Re: cell


From: Jeff Read
Subject: Re: cell
Date: Sun, 22 Apr 2001 14:22:05 -0400
User-agent: Mutt/1.0.1i

On Mon, Apr 23, 2001 at 01:01:04AM +0900, Masao Uebayashi wrote:
> Sorry for such a stupid question, but anyone explains me what the word
> ``cell'' represents?

I think you're referring to a cons cell. This is the basic component of LISP 
and Scheme lists. A Scheme function that returns a list will actually return a 
cons cell which is, generally, a structure with two fields: the CAR field 
points to the first element in the list. The CDR field points to another cons 
cell representing the remainder of the list or a null value (the empty list: 
()) to represent the end of the list. Basically it's just a convenient way of 
implementing linked lists.

-- 
----------------------------------------------------------------------
Jeff Read <address@hidden>
Unix Code Artist, Anime Fan, Really Cool Guy

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




reply via email to

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