package guile

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

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

val is_string : scm -> bool

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

val is_empty : scm -> scm

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

val string : char list -> scm

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

val len : scm -> int

len s returns the length of the Guile string s.

val to_raw : string -> scm

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

val from_raw : scm -> string

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

OCaml

Innovation. Community. Security.