Simplified code.

This commit is contained in:
Piotr Bzdyl 2015-03-03 17:16:44 +01:00 committed by Piotrek Bzdyl
parent ea8922daf1
commit 7f21443d6f

View File

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