forgot to update sets as well

Signed-off-by: Colin Jones <trptcolin@gmail.com>
This commit is contained in:
Nuno Marques 2010-10-01 01:34:02 +02:00 committed by Colin Jones
parent 1d09a984e7
commit 3c6478e5da
2 changed files with 8 additions and 5 deletions

View File

@ -6,13 +6,13 @@
The only things you need to run the Clojure Koans are: The only things you need to run the Clojure Koans are:
- JRE 1.5 or higher - JRE 1.5 or higher
- clojure-1.2.0-RC2.jar - clojure-1.2.0.jar
(http://github.com/downloads/relevance/functional-koans/clojure-1.2.0-RC2.jar) (http://github.com/downloads/relevance/functional-koans/clojure-1.2.0.jar)
clojure-1.2.0-RC2.jar needs to be placed in a directory `lib` under this project. clojure-1.2.0.jar needs to be placed in a directory `lib` under this project.
You can also use leiningen (http://github.com/technomancy/leiningen) to You can also use leiningen (http://github.com/technomancy/leiningen) to
automatically install the clojure-1.2.0-RC2.jar in the right place. automatically install the clojure-1.2.0.jar in the right place.
After you have leiningen installed, run After you have leiningen installed, run

View File

@ -1,7 +1,10 @@
(meditations (meditations
"Sets are another important data structure in clojure" "You can create a set in two ways"
(= #{} (set nil)) (= #{} (set nil))
"They are another important data structure in clojure"
(= __ (.size #{}))
"Remember that a set is a 'set'" "Remember that a set is a 'set'"
(= __ (set '(1 1 2 2 3 3 4 4 5 5))) (= __ (set '(1 1 2 2 3 3 4 4 5 5)))