From 3c6478e5da989538eec2157ff0881f732dacdfb9 Mon Sep 17 00:00:00 2001 From: Nuno Marques Date: Fri, 1 Oct 2010 01:34:02 +0200 Subject: [PATCH] forgot to update sets as well Signed-off-by: Colin Jones --- README.md | 8 ++++---- src/koans/sets.clj | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c6bcab..2dcd43b 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ The only things you need to run the Clojure Koans are: - JRE 1.5 or higher -- clojure-1.2.0-RC2.jar - (http://github.com/downloads/relevance/functional-koans/clojure-1.2.0-RC2.jar) +- clojure-1.2.0.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 -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 diff --git a/src/koans/sets.clj b/src/koans/sets.clj index 51bffc6..0823c3a 100644 --- a/src/koans/sets.clj +++ b/src/koans/sets.clj @@ -1,7 +1,10 @@ (meditations - "Sets are another important data structure in clojure" + "You can create a set in two ways" (= #{} (set nil)) + "They are another important data structure in clojure" + (= __ (.size #{})) + "Remember that a set is a 'set'" (= __ (set '(1 1 2 2 3 3 4 4 5 5)))