`SRFI' stands for `Scheme Request For Implementation'. An SRFI is a description of an extension to standard Scheme. Draft and final SRFI documents, a FAQ, and other information about SRFIs can be found at the SRFI web site.
Scheme 48 includes implementations of the following (final) SRFIs:
and-let*
let
with signatures and rest arguments
receive
The SRFI bindings can be accessed either by opening the appropriate structure
(the structure srfi-
n
contains SRFI n
)
or by loading structure srfi-7
and then using
the ,load-srfi-7-program
command to load an SRFI 7-style program.
The syntax for the command is
This creates a new structure and associated package, binds the structure to,load-srfi-7-program
name
filename
name
in the configuration package, and then loads the program
found in filename
into the package.
As an example, if the file test.scm
contains
this program can be loaded as follows:(program (code (define x 10)))
> ,load-package srfi-7 > ,load-srfi-7-program test test.scm [test] > ,in test test> x 10 test>
Previous: Regular expressions | Next: Mixing Scheme 48 and C