[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cell
From: |
Masao Uebayashi |
Subject: |
Re: cell |
Date: |
Mon, 23 Apr 2001 14:33:49 +0900 |
> 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.
Thanks for your reply.
I overlooked the section ``Conservative GC'' in the topic ``Data
Representation in Guile''. (I noticed this in train car just after
having posted.) The section clearly states what a ``cell'' in Guile
is:
Every heap object has a two-word header, called a "cell".
...
Regards,
Masao
---
|_ -|--|-
_|__ /|\/|\
- cell, Masao Uebayashi, 2001/04/22
- Re: cell, Jeff Read, 2001/04/22
- Re: cell,
Masao Uebayashi <=
- Re: cell, Martin Grabmueller, 2001/04/23
- Re: cell, Michael Livshin, 2001/04/23
- Re: cell, Masao Uebayashi, 2001/04/23
- Re: cell, Neil Jerram, 2001/04/23
- Re: cell, Neil W. Van Dyke, 2001/04/25
- Re: cell, Masao Uebayashi, 2001/04/25
- Re: cell, Masao Uebayashi, 2001/04/23
- Re: cell, Martin Grabmueller, 2001/04/23