[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Fix R6RS fold-left documentation
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Fix R6RS fold-left documentation |
Date: |
Thu, 23 Jun 2016 19:39:56 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit 498cd58cb43e0dde024ad3c62983def16a0c7ca9
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 a12964e..eaee821 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -724,11 +724,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