From 8c0d3f885ccbfbbc8b67228bf3f653e396b36535 Mon Sep 17 00:00:00 2001 From: Simon Morgan Date: Mon, 18 Nov 2013 17:29:13 +0000 Subject: [PATCH] A few grammatical changes. --- src/koans/20_partition.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/koans/20_partition.clj b/src/koans/20_partition.clj index 9d3dcc6..0ec5e29 100644 --- a/src/koans/20_partition.clj +++ b/src/koans/20_partition.clj @@ -5,14 +5,14 @@ "But watch out if there are not enough elements to form n sequences" (= '(__) (partition 3 [:a :b :c :d :e])) - "You can use partition-all to also get partitions with less then n elements" + "You can use partition-all to also get partitions with less than n elements" (= __ (partition-all 3 (range 5))) "If you need to, you can start each sequence with an offset" (= '((0 1 2) (5 6 7) (10 11 12)) (partition 3 __ (range 13))) - "Consider padding the last sequence with some default values.." + "Consider padding the last sequence with some default values..." (= '((0 1 2) (3 4 5) (6 :hello)) (partition 3 3 [__] (range 7))) - ".. but notice that they will only pad up to given sequence length" - (= '((0 1 2) (3 4 5) __) (partition 3 3 [:this :are "my" "words"] (range 7)))) + "... but notice that they will only pad up to the given sequence length" + (= '((0 1 2) (3 4 5) __) (partition 3 3 [:these :are "my" "words"] (range 7))))