chickadee » srfi-217 » iset-count

iset-count predicate isetprocedure

Returns the number of elements of iset that satisfy predicate as an exact integer.

Example:

   (iset-count positive? (iset -2 -1 1 2)) ⇒ 2