Some code snippet from book Clojure Programming