chickadee » persistent-hash-map » map-collect

map-collect proc mapprocedure

Applies proc to each entry of map and collects the return values in a list as the final result.

Example:

(map-collect cons (persistent-map 1 2 3 4))
=> ((1 . 2) (3 . 4))