diff --git a/src/IterTools.jl b/src/IterTools.jl index 3bb21a8..4aebd1a 100644 --- a/src/IterTools.jl +++ b/src/IterTools.jl @@ -261,9 +261,9 @@ end # Group output from at iterator into tuples. # E.g., -# partition(count(1), 2) = (1,2), (3,4), (5,6) ... -# partition(count(1), 2, 1) = (1,2), (2,3), (3,4) ... -# partition(count(1), 2, 3) = (1,2), (4,5), (7,8) ... +# partition(Iterators.countfrom(), 2) = (1,2), (3,4), (5,6) ... +# partition(Iterators.countfrom(), 2, 1) = (1,2), (2,3), (3,4) ... +# partition(Iterators.countfrom(), 2, 3) = (1,2), (4,5), (7,8) ... struct Partition{I, N, K} xs::I