Handbook
Glossary
x-in-bounds? ( min,max pairs -- ? )
Vocabulary
ui
.
gadgets
.
charts
.
lines
.
private
Inputs
min,max
an
object
pairs
an
object
Outputs
?
an
object
Definition
USING:
combinators.short-circuit
kernel
math
sequences
;
IN:
ui.gadgets.charts.lines.private
:
x-in-bounds?
( min,max pairs -- ? )
{
[
[
first
]
dip
last
x
>
not
]
[
[
second
]
dip
first
x
<
not
]
}
2&&
;