[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] General newbie query about tspl execise
From: |
John Cowan |
Subject: |
Re: [Chicken-users] General newbie query about tspl execise |
Date: |
Thu, 4 Nov 2010 13:46:32 -0400 |
On Thu, Nov 4, 2010 at 1:34 PM, Alan Post <address@hidden> wrote:
> Typically, all objects in a scheme system are stored with a tag,
> indicating the object type. Basically, whether it is an atom or a
> cons.
>
> For an atom, the data is stored immediately after the tag.
Actually, in Chicken it isn't. A symbol (atom) is a 3-pointer
object: the top-level value, the name of the symbol, and the property
list. A string has a header word followed directly by the bytes in
the string.