function | since v1.9.456 | Edit |
(print-prefix-map prefix m print-one writer opts)
(defn print-prefix-map [prefix m print-one writer opts]
(pr-sequential-writer
writer
(fn [e w opts]
(do (print-one (key e) w opts)
(-write w \space)
(print-one (val e) w opts)))
(str prefix "{") ", " "}"
opts (seq m)))