guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/11: Fix R6RS fold-left documentation


From: Andy Wingo
Subject: [Guile-commits] 01/11: Fix R6RS fold-left documentation
Date: Sun, 26 Jun 2016 20:58:18 +0000 (UTC)

wingo pushed a commit to branch stable-2.0
in repository guile.

commit 387010196f926db2f0e714285f827959ffb2b8de
Author: Andy Wingo <address@hidden>
Date:   Thu Jun 23 21:39:23 2016 +0200

    Fix R6RS fold-left documentation
    
    * doc/ref/r6rs.texi (rnrs lists): Fix documentation of fold-left.
---
 doc/ref/r6rs.texi |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi
index e5ffb78..aa3e5fc 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -722,11 +722,15 @@ These procedures are identical to the ones provided by 
SRFI-1.
 @xref{SRFI-1 Filtering and Partitioning}, for @code{partition}.
 @end deffn
 
address@hidden {Scheme Procedure} fold-right combine nil list1 list2 @dots{}
+This procedure is identical the @code{fold-right} procedure provided by
+SRFI-1.  @xref{SRFI-1 Fold and Map}, for documentation.
address@hidden deffn
+
 @deffn {Scheme Procedure} fold-left combine nil list1 list2 @dots{}
address@hidden {Scheme Procedure} fold-right combine nil list1 list2 @dots{}
-These procedures are identical to the @code{fold} and @code{fold-right}
-procedures provided by SRFI-1.  @xref{SRFI-1 Fold and Map}, for
-documentation.
+This procedure is like @code{fold} from SRFI-1, but @var{combine} is
+called with the seed as the first argument.  @xref{SRFI-1 Fold and Map},
+for documentation.
 @end deffn
 
 @deffn {Scheme Procedure} remp proc list



reply via email to

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