[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
- [Guile-commits] branch stable-2.0 updated (ea352d9 -> 8110246), Andy Wingo, 2016/06/26
- [Guile-commits] 01/11: Fix R6RS fold-left documentation,
Andy Wingo <=
- [Guile-commits] 04/11: Fix typo about `keywords' read option, Andy Wingo, 2016/06/26
- [Guile-commits] 08/11: Constant-folding eq? and eqv? uses deduplication, Andy Wingo, 2016/06/26
- [Guile-commits] 02/11: Clarify use of the term "scanning" in the manual, Andy Wingo, 2016/06/26
- [Guile-commits] 09/11: Check for strtod_l before using it., Andy Wingo, 2016/06/26
- [Guile-commits] 10/11: Favor "escape continuation" over "one-shot continuation" in manual, Andy Wingo, 2016/06/26
- [Guile-commits] 07/11: Prevent (@ (ice-9 boot-9) x), Andy Wingo, 2016/06/26
- [Guile-commits] 03/11: Fix ,profile in pure modules, Andy Wingo, 2016/06/26
- [Guile-commits] 06/11: Fix texinfo->html for @acronym, @itemize, Andy Wingo, 2016/06/26
- [Guile-commits] 05/11: Avoid stifling readline history when looking up options, Andy Wingo, 2016/06/26
- [Guile-commits] 11/11: Add documentation pointer from getopt-long to SRFI-37., Andy Wingo, 2016/06/26