infix :
Precondition
pre
debug: ((step_factor.sign = 0): through=from) # `step_factor` cannot be zero unless `from == through`, because a zero step would never reach `through`.
safety: (step *? step_factor).ok
0.099dev (GIT hash 9b94ad4b4a4bff2bf2be7d77be2c6e1fd7683c4d)
last changed: 2026-09-23
`from` and `through` remain unchanged.
Since it returns an interval, `infix :` can be chained (factors multiply):
2..10 # {2,4,6,8,10} (implicit step 1 -> new step 2)
(2..12:2):3 # {2,8} (step becomes 1 * 2 * 3 = 6)
A negative `step_factor` reverses the direction. It usually makes the
interval empty because `from` and `through` do not change:
2..10: -2 # empty: step points away from `through`