guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core/doc ChangeLog srfi-modules.texi


From: Martin Grabmueller
Subject: guile/guile-core/doc ChangeLog srfi-modules.texi
Date: Mon, 02 Jul 2001 10:52:43 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Martin Grabmueller <address@hidden>     01/07/02 10:52:43

Modified files:
        guile-core/doc : ChangeLog srfi-modules.texi 

Log message:
        * srfi-modules.texi (SRFI-1 Fold and Map): Documented extended
        versions of `map' and `for-each'.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/doc/ChangeLog.diff?cvsroot=OldCVS&tr1=1.108&tr2=1.109&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/doc/srfi-modules.texi.diff?cvsroot=OldCVS&tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: guile/guile-core/doc/ChangeLog
diff -u guile/guile-core/doc/ChangeLog:1.108 
guile/guile-core/doc/ChangeLog:1.109
--- guile/guile-core/doc/ChangeLog:1.108        Sat Jun 30 06:45:22 2001
+++ guile/guile-core/doc/ChangeLog      Mon Jul  2 10:52:43 2001
@@ -1,3 +1,8 @@
+2001-07-02  Martin Grabmueller  <address@hidden>
+
+       * srfi-modules.texi (SRFI-1 Fold and Map): Documented extended
+       versions of `map' and `for-each'.
+
 2001-06-30  Martin Grabmueller  <address@hidden>
 
        * preface.texi (Manual Conventions): Added description of
Index: guile/guile-core/doc/srfi-modules.texi
diff -u guile/guile-core/doc/srfi-modules.texi:1.8 
guile/guile-core/doc/srfi-modules.texi:1.9
--- guile/guile-core/doc/srfi-modules.texi:1.8  Wed Jun 27 06:19:43 2001
+++ guile/guile-core/doc/srfi-modules.texi      Mon Jul  2 10:52:43 2001
@@ -486,6 +486,25 @@
 
 @end deffn
 
address@hidden procedure map f lst1 lst2 @dots{}
+Map the procedure over the list(s) @var{lst1}, @var{lst2}, @dots{} and
+return a list containing the results of the procedure applications.
+This procedure is extended with respect to R5RS, because the argument
+lists may have different lengths.  The result list will have the same
+length as the shortest argument lists.  The order in which @var{f}
+will be applied to the list element(s) is not specified.
address@hidden deffn
+
address@hidden procedure for-each f lst1 lst2 @dots{}
+Apply the procedure @var{f} to each pair of corresponding elements of
+the list(s) @var{lst1}, @var{lst2}, @dots{}.  The return value is not
+specified.  This procedure is extended with respect to R5RS, because
+the argument lists may have different lengths.  The shortest argument
+list determines the number of times @var{f} is called.  @var{f} will
+be applied to tge list elements in left-to-right order.
+
address@hidden deffn
+
 @deffn procedure append-map f lst1 lst2 @dots{}
 @deffnx procedure append-map! f lst1 lst2 @dots{}
 Equivalent to 



reply via email to

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