Node:Loading SRFI-13, Next:SRFI-13 Predicates, Up:SRFI-13
When Guile is properly installed, SRFI-13 support can be loaded into a
running Guile by using the (srfi srfi-13)
module.
$ guile guile> (use-modules (srfi srfi-13)) guile>
When this step causes any errors, Guile is not properly installed.
One possible reason is that Guile cannot find either the Scheme module
file srfi-13.scm
, or it cannot find the shared object file
libguile-srfi-srfi-13-14.so
. Make sure that the former is in the
Guile load path and that the latter is either installed in some default
location like /usr/local/lib
or that the directory it was
installed to is in your LTDL_LIBRARY_PATH
. The same applies to
srfi-14.scm
.
Now you can test whether the SRFI-13 procedures are working by calling
the string-concatenate
procedure.
guile> (string-concatenate '("Hello" " " "World!")) "Hello World!"