`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:
letwith signatures and rest arguments
SRFI 14 includes the procedure
->char-set which is not a standard
Scheme identifier (in R5RS the only required identifier starting
In the Scheme 48 version of SRFI 14 we have renamed
The SRFI bindings can be accessed either by opening the appropriate structure
n contains SRFI
or by loading structure
srfi-7 and then using
,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
namein the configuration package, and then loads the program found in
filenameinto the package.
As an example, if the file
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