From e0d037d5293c1fcb14c31662926b1bffe611ad17 Mon Sep 17 00:00:00 2001 From: Ken Smith Date: Wed, 26 Oct 2016 09:16:11 -0600 Subject: [PATCH] Correct closing paren for meditations (#118) The closing paren for meditations occurred after the second-to-last koan instead of the last one, so the test on the last one would never be executed. --- src/koans/06_maps.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/koans/06_maps.clj b/src/koans/06_maps.clj index 2c3d25f..c2e5d9a 100644 --- a/src/koans/06_maps.clj +++ b/src/koans/06_maps.clj @@ -53,11 +53,11 @@ "You can get the values in a similar way" (= (list __ __ __) - (sort (vals {2010 "Vancouver" 2014 "Sochi" 2018 "PyeongChang"})))) + (sort (vals {2010 "Vancouver" 2014 "Sochi" 2018 "PyeongChang"}))) "You can even iterate over the map entries as a seq" (= {:a __ :b __} (into {} (map (fn [[k v]] [k (inc v)]) - {:a 1 :b 2}))) + {:a 1 :b 2}))))