Merge pull request #82 from pbzdyl/patch-1

Simplified code.
This commit is contained in:
Colin Jones
2015-03-03 13:32:42 -06:00

View File

@@ -6,7 +6,7 @@
([a] (str "Hello, you silly " a ".")) ([a] (str "Hello, you silly " a "."))
([a & more] (str "Hello to this group: " ([a & more] (str "Hello to this group: "
(apply str (apply str
(interpose ", " (concat (list a) more))) (interpose ", " (cons a more)))
"!"))) "!")))
(defmulti diet (fn [x] (:eater x))) (defmulti diet (fn [x] (:eater x)))