Browse the archive

Page 2 of the blog index.

Latest posts

Recent writing, technical notes and archived essays.

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