Итераторы (диапазоны)


Each object that can be used in Ranges needs to implement a "nextInSequence" method 

Number nextInSequence := method(skipVal,
    if(skipVal isNil, skipVal = 1)
    self + skipVal
)