guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core NEWS


From: Martin Grabmueller
Subject: guile/guile-core NEWS
Date: Wed, 16 May 2001 11:10:25 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Martin Grabmueller <address@hidden>     01/05/16 11:10:25

Modified files:
        guile-core     : NEWS 

Log message:
        Added section about --use-srfi.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/NEWS.diff?cvsroot=OldCVS&tr1=1.287&tr2=1.288&r1=text&r2=text

Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.287 guile/guile-core/NEWS:1.288
--- guile/guile-core/NEWS:1.287 Tue May 15 08:00:31 2001
+++ guile/guile-core/NEWS       Wed May 16 11:10:25 2001
@@ -272,6 +272,26 @@
 (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]