2 points · by remvee · 17y ago · 0 comments
No comments yet.
Counting occurences
One asked me how to count occurrences of each value in a collection. I answered (reduce #(assoc %1 %2 (inc (%1 %2 0))) {} coll) . Since it c...
clj-me.blogspot.com