Just an experiment on how to recursively reduce an array of nested items.
Assuming you have Leiningen installed on your machine, clone this repo and then run lein test
.
You should see this:
lein test clojure-recursive-reduce.core-test
Ran 1 tests containing 2 assertions.
0 failures, 0 errors.