Handbook
Glossary
<range> ( a b step -- range )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Numeric ranges
Prev:
[0..b) ( b -- range )
Vocabulary
ranges
Inputs
a
an
object
b
an
object
step
an
object
Outputs
range
an
object
Definition
USING:
kernel
math
math.order
ranges.private
;
IN:
ranges
:
<range>
( a b step -- range )
[
over
-
]
dip
[
sign/mod
0
<
[
1
+
]
unless
0
max
]
keep
range
boa
;
inline