Clojure, eh? Might as well have Scala solutions too.