Handbook
Glossary
[a,a] ( a -- interval )
Factor handbook
»
The language
»
Numbers
»
Intervals
»
Creating intervals
Prev:
(a,b] ( a b -- interval )
Next:
[-inf,b] ( b -- interval )
Vocabulary
math
.
intervals
Inputs
a
a
real
Outputs
interval
an
interval
Word description
Creates a new interval consisting of a single point.
Definition
USING:
kernel
;
IN:
math.intervals
:
[a,a]
( a -- interval )
closed-point
dup
<interval>
;
foldable
flushable