1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-20 18:50:21 +02:00

Added section about --use-srfi.

This commit is contained in:
Martin Grabmüller 2001-05-16 18:10:25 +00:00
parent fb02eb66f6
commit e7e58018d7

20
NEWS
View file

@ -272,6 +272,26 @@ Example:
(eval '(+ 1 2) m) --> 3
(eval 'load m) --> ERROR: Unbound variable: load
** New command line option `--use-srfi'
Using this option, SRFI modules can be loaded on startup and be
available right from the beginning. This makes programming portable
Scheme programs easier.
The option `--use-srfi' expects a comma-separated list of numbers,
each representing a SRFI number to be loaded into the interpreter
before starting evaluating a script file or the REPL. Additionally,
the feature identifier for the loaded SRFIs is recognized by
`cond-expand' when using this option.
Example:
$ guile --use-srfi=8,13
guile> (receive (x z) (values 1 2) (+ 1 2))
3
guile> (string-pad "bla" 20)
" bla"
* Changes to Scheme functions and syntax
** The empty combination is no longer valid syntax.