Guile.Pair
val cons : scm -> scm -> scm
cons hd tl returns a cons cell with head hd and tail tl.
cons hd tl
hd
tl
val car : scm -> scm
car cell returns the head of the cons cell cell.
car cell
cell
val cdr : scm -> scm
cdr cell returns the tail of the cons cell cell.
cdr cell
val caar : scm -> scm
val cadr : scm -> scm
val cdar : scm -> scm
val hd : scm -> scm
hd cell returns the head of the cons cell cell.
hd cell
val tl : scm -> scm
tl cell returns the tail of the cons cell cell.
tl cell
val set_car : scm -> scm -> unit
set_car cell vl updates the car of cell cell with value vl.
set_car cell vl
vl
val set_cdr : scm -> scm -> unit
set_cdr cell vl updates the cdr of cell cell with value vl.
set_cdr cell vl
val is_cons : scm -> bool
is_cons cell returns true if cell is a cons cell and facelle otherwise.
is_cons cell
val is_ncons : scm -> bool
is_cons cell returns false if cell is a cons cell and true otherwise.