interval-1+ ( i1 -- i2 )
Factor handbook » The language » Numbers » Intervals » Interval arithmetic

Prev:interval-bitxor ( i1 i2 -- i3 )
Next:interval-1- ( i1 -- i2 )


Vocabulary
math.intervals

Inputs
i1an interval


Outputs
i2an interval


Word description
Adds 1 to an interval.

Examples
USING: math.intervals prettyprint ; 10 11 [a,b] interval-1+ .
T{ interval { from { 11 t } } { to { 12 t } } }


Definition