package guile

  1. Overview
  2. Docs
val t : scm

t is the Guile value encoding true.

val f : scm

t is the Guile value encoding false.

val boolean_p : scm -> scm

boolean_p b returns #t if b is a boolean and #f otherwise.

val is_bool : scm -> bool

is_bool b returns true if b is a boolean and false otherwise.

val not : scm -> scm

not b negates the boolean b.

val to_raw : bool -> scm

to_raw b converts the OCaml boolean b to a Guile boolean.

val from_raw : scm -> bool

from_raw b converts the Guile boolean b to an OCaml boolean.

OCaml

Innovation. Community. Security.