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