ranges vocabulary
Factor handbook ยป Vocabulary index


Documentation
Numeric ranges

Metadata
Tags:math
Authors:Slava Pestov, Doug Coleman, Keldan Chapman


Words

Tuple classes
ClassSuperclassSlots
range tuplefrom length step


Parsing words
WordSyntax
..<start ..< end
..=start ..= end


Ordinary words
WordStack effect
(a..b)( a b -- range )
(a..b]( a b -- range )
<range>( a b step -- range )
[0..b)( b -- range )
[0..b]( b -- range )
[1..b)( b -- range )
[1..b]( b -- range )
[a..b)( a b -- range )
[a..b]( a b -- range )


Class predicate words
WordStack effect
range?( object -- ? )


Files


Metadata files