format-events: rewrite using idiomatic Clojure instead of "imperative" loop-style
format-listing: rewrite using idiomatic Clojure instead of "imperative" loop-style