Fix already-passing koans

This commit is contained in:
Colin Jones 2011-06-10 22:11:45 -05:00
parent 9ead934759
commit 5a5f519fb8
3 changed files with 7 additions and 5 deletions

View File

@ -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)))

View File

@ -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}))

View File

@ -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