package guile

  1. Overview
  2. Docs

Module Guile.BoolSource

Sourceval t : scm

t is the Guile value encoding true.

Sourceval f : scm

t is the Guile value encoding false.

Sourceval boolean_p : scm -> scm

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

Sourceval is_bool : scm -> bool

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

Sourceval not : scm -> scm

not b negates the boolean b.

Sourceval to_raw : bool -> scm

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

Sourceval from_raw : scm -> bool

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

OCaml

Innovation. Community. Security.