chickadee » sequences-utils » histogram

histogram SEQ #!optional =?procedure

Returns an (list-of ('a . integer)) where SEQ is (sequence-of 'a).

SEQ
sequence ; sequence to count element by element.
=?
binary-predicate ; equality predicate, default is equal?.