;; When the step parameter is provided, the starting index value of the first item in the
;; next group steps relative to the current index value
;; 提供step参数时,下一个分组的第一项的起始索引值相对于当前索引值的步进(+ pre-index step)
(println (partition-all 2 3 '(0 1 2 3 4 5 6 7 8 9)))
;; => ((0 1) (3 4) (6 7) (9))
(println (partition-all 4 3 '(0 1 2 3 4 5 6 7 8 9)))
;; => ((0 1 2 3) (3 4 5 6) (6 7 8 9) (9))
;; When n is equal to step, it is equivalent to no step parameter
;; 当n与step相等,相当于无step参数
(println (partition-all 3 3 '(0 1 2 3 4 5 6 7 8 9)))
;; => ((0 1 2) (3 4 5) (6 7 8) (9))