--- srfi-modules.texi.~1.8.~ 2002-08-06 04:52:27.000000000 +1000 +++ srfi-modules.texi 2003-05-01 10:41:46.000000000 +1000 @@ -381,6 +381,20 @@ containing the second elements of each lists, and so on. @end deffn address@hidden {Scheme Procedure} count pred lst1 ... lstN +Return a count of the number of times @var{pred} returns true when +called on elements from the given lists. + address@hidden is called with @var{N} parameters @code{(@var{pred} address@hidden @dots{} @var{elemN})}, each element being from the +corresponding @var{lst1} @dots{} @var{lstN}. The first call is with +the first element of each list, the second with the second element +from each, and so on. + +Counting stops when the end of the shortest list is reached. At least +one list must be non-circular. address@hidden deffn + @node SRFI-1 Fold and Map @subsection Fold, Unfold & Map