Iterate out of range

rocco_sprmnt21
Tue, 28 Feb 2023 22:22:18 +0000
General Usage

Are these results expected?

julia> iterate(3:7, 9)
(10, 10)

julia> iterate(3:7, 9)
(10, 10)

julia> iterate(3:1:7, 9)
(10, 10)

julia> iterate('c':'l','n')
('o', 'o')

julia> iterate('c':'l',15)
('\x10', '\x10')

4 posts - 3 participants

Read full topic