diff options
author | Andy Wingo <wingo@pobox.com> | 2016-06-23 21:39:23 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-06-23 21:39:23 +0200 |
commit | 498cd58cb43e0dde024ad3c62983def16a0c7ca9 (patch) | |
tree | c7ee1ad3b32cb00f317ccbb11a9f3e0277c94447 /doc/ref | |
parent | 3df22933b6113872e5c67456fbcdd9d8adc1a5f8 (diff) | |
download | guile-498cd58cb43e0dde024ad3c62983def16a0c7ca9.tar.gz |
Fix R6RS fold-left documentation
* doc/ref/r6rs.texi (rnrs lists): Fix documentation of fold-left.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/r6rs.texi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi index a12964ed2..eaee82105 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 +@deffn {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. +@end deffn + @deffn {Scheme Procedure} fold-left combine nil list1 list2 @dots{} -@deffnx {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 |