chickadee » srfi-225 » dict-count

dict-count dto pred dictprocedure

Passes each association of dictionary as two arguments to pred and returns the number of times that pred returned true as an exact integer.

(dict-count dto (lambda (k v) (even? k)) dict) ⇒ 0