Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
[a,a] ( a -- interval )
Factor documentation
>
Factor handbook
>
The language
>
Numbers
>
Intervals
>
Creating intervals
Prev:
(a,b] ( a b -- interval )
Next:
[-inf,a] ( a -- interval )
Vocabulary
math.intervals
Inputs and outputs
a
a
real
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