From ec9d5cd66fd4df250d31d094b82b9d6f59fe9113 Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Mon, 25 Jan 2016 16:45:53 -0600 Subject: [PATCH] Emphasize the leftovers included by partition-all --- src/koans/21_partition.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/koans/21_partition.clj b/src/koans/21_partition.clj index 309ba02..821ef09 100644 --- a/src/koans/21_partition.clj +++ b/src/koans/21_partition.clj @@ -8,7 +8,7 @@ "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 or equal to n elements" + "You can use partition-all to include any leftovers too" (= __ (partition-all 3 (range 5))) "If you need to, you can start each sequence with an offset"