Lesser known Clojure: reduce kv
In addition to commonly known reduce function Clojure has its specialized version called reduce-kv. This function is designed to work with associative collections (like map or vector). Here is its signature: where: f is a 3 arguments...
Read article