/[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.8 by mvo, Mon Aug 5 18:52:27 2002 UTC revision 1.9 by kryde, Sat May 3 22:27:14 2003 UTC
# Line 381  first containing the first elements of e Line 381  first containing the first elements of e
381  containing the second elements of each lists, and so on.  containing the second elements of each lists, and so on.
382  @end deffn  @end deffn
383    
384    @deffn {Scheme Procedure} count pred lst1 @dots{} lstN
385    Return a count of the number of times @var{pred} returns true when
386    called on elements from the given lists.
387    
388    @var{pred} is called with @var{N} parameters @code{(@var{pred}
389    @var{elem1} @dots{} @var{elemN})}, each element being from the
390    corresponding @var{lst1} @dots{} @var{lstN}.  The first call is with
391    the first element of each list, the second with the second element
392    from each, and so on.
393    
394    Counting stops when the end of the shortest list is reached.  At least
395    one list must be non-circular.
396    @end deffn
397    
398    
399  @node SRFI-1 Fold and Map  @node SRFI-1 Fold and Map
400  @subsection Fold, Unfold & Map  @subsection Fold, Unfold & Map

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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