package guile

  1. Overview
  2. Docs

Module Guile.PairSource

Sourceval cons : scm -> scm -> scm

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

Sourceval car : scm -> scm

car cell returns the head of the cons cell cell.

Sourceval cdr : scm -> scm

cdr cell returns the tail of the cons cell cell.

Sourceval caar : scm -> scm
Sourceval cadr : scm -> scm
Sourceval cdar : scm -> scm
Sourceval hd : scm -> scm

hd cell returns the head of the cons cell cell.

Sourceval tl : scm -> scm

tl cell returns the tail of the cons cell cell.

Sourceval set_car : scm -> scm -> unit

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

Sourceval set_cdr : scm -> scm -> unit

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

Sourceval is_cons : scm -> bool

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

Sourceval is_ncons : scm -> bool

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

OCaml

Innovation. Community. Security.