18.2.5.2 Vectors, Strings, and Symbols
Vectors, strings, and symbols have some properties in common. They all
have a length, and they all have an array of elements. In the case of a
vector, the elements are SCM values; in the case of a string or
symbol, the elements are characters.
— C Macro: int
SCM_VECTORP (
SCM x)
Return non-zero iff x is a vector.
— C Macro: int
SCM_STRINGP (
SCM x)
Return non-zero iff x is a string.
— C Macro: int
SCM_SYMBOLP (
SCM x)
Return non-zero iff x is a symbol.
— C Macro: int
SCM_LENGTH (
SCM x)
Return the length of the object x.
The result is undefined if x is not a vector or symbol.
— C Macro: int
SCM_ROLENGTH (
SCM x)
Return the length of the object x.
The result is undefined if x is not a string.