From 7f21443d6f90741afed0ba5cfc9425a0db11061f Mon Sep 17 00:00:00 2001 From: Piotr Bzdyl Date: Tue, 3 Mar 2015 17:16:44 +0100 Subject: [PATCH] Simplified code. --- src/koans/09_runtime_polymorphism.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/koans/09_runtime_polymorphism.clj b/src/koans/09_runtime_polymorphism.clj index 806c8df..8a231a9 100644 --- a/src/koans/09_runtime_polymorphism.clj +++ b/src/koans/09_runtime_polymorphism.clj @@ -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)))