1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-21 20:20:24 +02:00

(List Modification): In filter, return may share a

tail with the input, as per docstring.  In filter!, fix chopped off
note of modifying input.
This commit is contained in:
Kevin Ryde 2005-08-06 00:45:40 +00:00
parent 44ba562e29
commit d8e49e6bd2

View file

@ -1,6 +1,6 @@
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual. @c This is part of the GNU Guile Reference Manual.
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004 @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005
@c Free Software Foundation, Inc. @c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions. @c See the file guile.texi for copying conditions.
@ -553,7 +553,9 @@ predicate @var{pred}. The elements in the result list have the same
order as in @var{lst}. The order in which @var{pred} is applied to order as in @var{lst}. The order in which @var{pred} is applied to
the list elements is not specified. the list elements is not specified.
@code{filter!} is allowed, but not required to modify the structure of @code{filter} does not change @var{lst}, but the result may share a
tail with it. @code{filter!} may modify @var{lst} to construct its
return.
@end deffn @end deffn
@node List Searching @node List Searching