diff --git a/src/koans/maps.clj b/src/koans/maps.clj index 9215453..9f62b06 100644 --- a/src/koans/maps.clj +++ b/src/koans/maps.clj @@ -24,7 +24,7 @@ (= __ ({2006 "Torino" 2010 "Vancouver" 2014 "Sochi"} 2010)) "You may not be able to find an entry for a key" - (= nil (get {:a 1 :b 2} :c)) + (= __ (get {:a 1 :b 2} :c)) "You can find out if a key is present" (= __ (contains? {:a nil :b nil} :b)) diff --git a/src/koans/vectors.clj b/src/koans/vectors.clj index bcdedb3..38abcda 100644 --- a/src/koans/vectors.clj +++ b/src/koans/vectors.clj @@ -3,10 +3,10 @@ (= __ (.size (vec nil))) "You can create a vector in two ways" - (= [] (vec nil)) + (= __ (vec nil)) "And populate it in either of these ways" - (= [1] (vec '(1))) + (= __ (vec '(1))) "But you can populate it with any number of elements at once" (= [1 __] (vec '(1 2))) @@ -15,7 +15,7 @@ (= __ (conj (vec nil) 333)) "You can get the first element of a vector like so" - (= :peanut (first [:peanut :butter :and :jelly])) + (= __ (first [:peanut :butter :and :jelly])) "And the last in a similar fashion" (= __ (last [:peanut :butter :and :jelly]))