G-cons
FGL object constructor for conses.
This is a product type, introduced by defflexsum in support of fgl-object.
Fields
- car — fgl-object
- cdr — fgl-object
An object constructed as (g-cons car cdr) evaluates to the
cons of the evaluations of FGL objects car and cdr. This
could be represented instead as (g-apply 'cons car cdr), but
the g-cons constructor saves memory by using only one cons in
its representation, rather than four as would be used in the
g-apply version.
Subtopics
- Make-g-cons
- Basic constructor macro for g-cons structures.
- G-cons->cdr
- Get the cdr field from a g-cons.
- G-cons->car
- Get the car field from a g-cons.
- Change-g-cons
- Modifying constructor for g-cons structures.