Fix already-passing koans

master
Colin Jones 13 years ago
parent 9ead934759
commit 5a5f519fb8

@ -1,6 +1,6 @@
(meditations
"There are two ways to create maps"
(= {} (hash-map))
(= __ (hash-map))
"Maps in clojure associate keys with values"
(= __ (count (hash-map)))

@ -1,6 +1,6 @@
(meditations
"You can create a set in two ways"
(= #{} (set nil))
(= #{} (set __))
"They are another important data structure in clojure"
(= __ (count #{1 2 3}))

@ -37,13 +37,15 @@
[:butter :and]
3]}
"sets" {"__" [3
"sets" {"__" [nil
3
#{1 2 3 4 5}
#{1 2 3 4 5}
#{2 3}
#{1 4}]}
"maps" {"__" [0
"maps" {"__" [{}
0
1
2
2
@ -69,7 +71,7 @@
"conditionals" {"__" [:a
[]
nil
nil
:glory
4 6 :your_road
''doom 0

Loading…
Cancel
Save