Emphasize the leftovers included by partition-all

This commit is contained in:
Colin Jones 2016-01-25 16:45:53 -06:00
parent d30e324bcd
commit ec9d5cd66f

View File

@ -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"