From d275ab804de12429d96802ec045af4ba94719760 Mon Sep 17 00:00:00 2001 From: Micah Martin and Colin Jones Date: Mon, 4 Mar 2013 17:10:04 -0600 Subject: [PATCH] Leave out vec nil for now --- resources/koans.clj | 2 +- src/koans/03_vectors.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/koans.clj b/resources/koans.clj index 2c7715b..37efc6b 100644 --- a/resources/koans.clj +++ b/resources/koans.clj @@ -24,7 +24,7 @@ [1] [nil nil] 2 - [333] + [111 222 333] :peanut :jelly :jelly diff --git a/src/koans/03_vectors.clj b/src/koans/03_vectors.clj index bf7fcf9..83e6ef0 100644 --- a/src/koans/03_vectors.clj +++ b/src/koans/03_vectors.clj @@ -11,8 +11,8 @@ "But you can populate it with any number of elements at once" (= [1 __] (vec '(1 2))) - "And add to it as well" - (= __ (conj (vec nil) 333)) + "Conjoining to a vector is different than to a list" + (= __ (conj [111 222] 333)) "You can get the first element of a vector like so" (= __ (first [:peanut :butter :and :jelly]))