Attempt at learning some Clojure by porting a tool I just wrote in Ruby