/[guile]/guile/guile-core/doc/ref/srfi-modules.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/srfi-modules.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by kryde, Sat Oct 18 00:49:08 2003 UTC revision 1.25 by kryde, Sat Nov 8 22:15:07 2003 UTC
# Line 594  specific condition.  Partitioning a list Line 594  specific condition.  Partitioning a list
594  list elements, one which contains the elements satisfying a condition,  list elements, one which contains the elements satisfying a condition,
595  and the other for the elements which don't.  and the other for the elements which don't.
596    
597  @deffn {Scheme Procedure} filter pred lst  The @code{filter} and @code{filter!} functions are implemented in the
598  @deffnx {Scheme Procedure} filter! pred lst  Guile core, @xref{List Modification}.
 Return a list containing all elements from @var{lst} which satisfy the  
 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  
 the list elements is not specified.  
   
 @code{filter!} is allowed, but not required to modify the structure of  
 @end deffn  
599    
600  @deffn {Scheme Procedure} partition pred lst  @deffn {Scheme Procedure} partition pred lst
601  @deffnx {Scheme Procedure} partition! pred lst  @deffnx {Scheme Procedure} partition! pred lst

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26