package guile

  1. Overview
  2. Docs

Module Guile.StringSource

Sourceval string_p : scm -> scm

string_p v returns #t if v is a string and #f otherwise.

Sourceval is_string : scm -> bool

is_string v returns true if v is a string and false otherwise.

Sourceval is_empty : scm -> scm

is_empty v returns true if v is an empty string and false otherwise.

Sourceval string : char list -> scm

string cs constructs a fresh Guile string from the list of characters cs.

Sourceval len : scm -> int

len s returns the length of the Guile string s.

Sourceval to_raw : string -> scm

to_raw s encodes an OCaml string s as a Guile string.

Sourceval from_raw : scm -> string

from_raw s extracts an OCaml string from a Guile string s.

OCaml

Innovation. Community. Security.