summaryrefslogtreecommitdiff
path: root/doc/ref/api-procedures.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-03-27 16:45:54 +0100
committerLudovic Courtès <ludo@gnu.org>2013-03-27 18:09:49 +0100
commit8cd109bf0a10e37c26bf476fed81a0d4282d13c6 (patch)
treeaf109b40c1938705126ba9864976848122dc2763 /doc/ref/api-procedures.texi
parentffc8eca636a8e9311d35c9adba2fc80476ab11ca (diff)
downloadguile-8cd109bf0a10e37c26bf476fed81a0d4282d13c6.tar.gz
Document `and=>'.
* module/ice-9/boot-9.scm (and=>): Add docstring. * doc/ref/api-procedures.texi (Higher-Order Functions): Add `and=>'.
Diffstat (limited to 'doc/ref/api-procedures.texi')
-rw-r--r--doc/ref/api-procedures.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ref/api-procedures.texi b/doc/ref/api-procedures.texi
index e0158fd09..8ff240a14 100644
--- a/doc/ref/api-procedures.texi
+++ b/doc/ref/api-procedures.texi
@@ -717,6 +717,11 @@ compatible arity.
Return X.
@end deffn
+@deffn {Scheme Procedure} and=> value proc
+When @var{value} is @code{#f}, return @code{#f}. Otherwise, return
+@code{(@var{proc} @var{value})}.
+@end deffn
+
@node Procedure Properties
@subsection Procedure Properties and Meta-information