chickadee » persistent-hash-map » map-each

map-each proc mapprocedure

Applies proc to each entry of map for its side-effects. The return value is undefined.

Example:

(map-each (lambda (key value)
            (pp (list key: key value: value)))
          (persistent-map 'foo 1 'bar 2))

Output:

(key: foo value: 1)
(key: bar value: 2)