package guile
Library
Module
Module type
Parameter
Class
Class type
val is_number : scm -> bool
is_number v
returns true if v
is a number and false otherwise.
val is_integer : scm -> bool
is_integer v
returns true if v
is an integer and false otherwise.
exact_integer_p v
returns #t if v
is an exact integer and #f otherwise.
val is_exact_integer : scm -> bool
is_exact_integer v
returns true if v
is an exact integer and false otherwise.
val char_from_raw : scm -> char
char_from_raw v
extracts an OCaml char from a Guile value v
.
val schar_from_raw : scm -> int
schar_from_raw v
extracts an OCaml signed char from a Guile value v
.
val uchar_from_raw : scm -> Unsigned.uchar
uchar_from_raw v
extracts an OCaml unsigned char from a Guile value v
.
val short_from_raw : scm -> int
short_from_raw v
extracts an OCaml short from a Guile value v
.
val ushort_from_raw : scm -> Unsigned.ushort
ushort_from_raw v
extracts an OCaml unsigned short from a Guile value v
.
val int_from_raw : scm -> int
int_from_raw v
extracts an OCaml int from a Guile value v
.
val uint_from_raw : scm -> Unsigned.uint
uint_from_raw v
extracts an OCaml unsigned int from a Guile value v
.
val long_from_raw : scm -> Signed.long
long_from_raw v
extracts an OCaml long from a Guile value v
.
val ulong_from_raw : scm -> Unsigned.ulong
long_from_raw v
extracts an OCaml unsigned long from a Guile value v
.
val long_long_from_raw : scm -> Signed.llong
long_long_from_raw v
extracts an OCaml long long from a Guile value v
.
val ulong_long_from_raw : scm -> Unsigned.ullong
ulong_long_from_raw v
extracts an OCaml unsigned long long from a Guile value v
.
val size_t_from_raw : scm -> Unsigned.size_t
size_t_from_raw v
extracts an OCaml size_t from a Guile value v
.
val char_to_raw : char -> scm
char_to_raw c
converts an OCaml char c
into a Guile value.
val schar_to_raw : int -> scm
schar_to_raw c
converts an OCaml signed char c
into a Guile value.
val uchar_to_raw : Unsigned.uchar -> scm
uchar_to_raw c
converts an OCaml unsigned char c
into a Guile value.
val short_to_raw : int -> scm
short_to_raw c
converts an OCaml short c
into a Guile value.
val ushort_to_raw : Unsigned.ushort -> scm
ushort_to_raw c
converts an OCaml unsigned short c
into a Guile value.
val int_to_raw : int -> scm
int_to_raw i
converts an OCaml int i
into a Guile value.
val uint_to_raw : Unsigned.uint -> scm
uint_to_raw i
converts an OCaml unsigned int i
into a Guile value.
val long_to_raw : Signed.long -> scm
long_to_raw l
converts an OCaml long l
into a Guile value.
val ulong_to_raw : Unsigned.ulong -> scm
ulong_to_raw l
converts an OCaml unsigned long l
into a Guile value.
val long_long_to_raw : Signed.llong -> scm
long_long_to_raw l
converts an OCaml long long l
into a Guile value.
val ulong_long_to_raw : Unsigned.ullong -> scm
ulong_long_to_raw l
converts an OCaml unsigned long long l
into a Guile value.
val size_t_to_raw : Unsigned.size_t -> scm
size_t_to_raw l
converts an OCaml size_t l
into a Guile value.
module Float : sig ... end
module Complex : sig ... end
val is_exact : scm -> bool
is_exact v
returns true if v
is an exact number and false otherwise.
val is_inexact : scm -> bool
is_inexact v
returns true if v
is an exact number and false otherwise.
inexact_to_exact v
converts an inexact value v
to its nearest exact counterpart.