package guile

  1. Overview
  2. Docs
val cons : scm -> scm -> scm

cons hd tl returns a cons cell with head hd and tail tl.

val car : scm -> scm

car cell returns the head of the cons cell cell.

val cdr : scm -> scm

cdr cell returns the tail of the cons cell 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.

val tl : scm -> scm

tl cell returns the tail of the cons cell cell.

val set_car : scm -> scm -> unit

set_car cell vl updates the car of cell cell with value vl.

val set_cdr : scm -> scm -> unit

set_cdr cell vl updates the cdr of cell cell with value vl.

val is_cons : scm -> bool

is_cons cell returns true if cell is a cons cell and facelle otherwise.

val is_ncons : scm -> bool

is_cons cell returns false if cell is a cons cell and true otherwise.