summaryrefslogtreecommitdiff
path: root/doc/ref/api-utility.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ref/api-utility.texi')
-rw-r--r--doc/ref/api-utility.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ref/api-utility.texi b/doc/ref/api-utility.texi
index 9ab1eeea5..17694ecab 100644
--- a/doc/ref/api-utility.texi
+++ b/doc/ref/api-utility.texi
@@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2011
+@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2011, 2012
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@@ -308,9 +308,10 @@ input.
@deffn {Scheme Procedure} sorted? items less
@deffnx {C Function} scm_sorted_p (items, less)
-Return @code{#t} iff @var{items} is a list or a vector such that
-for all 1 <= i <= m, the predicate @var{less} returns true when
-applied to all elements i - 1 and i
+Return @code{#t} iff @var{items} is a list or vector such that,
+for each element @var{x} and the next element @var{y} of
+@var{items}, @code{(@var{less} @var{y} @var{x})} returns
+@code{#f}.
@end deffn
@deffn {Scheme Procedure} sort items less