Handbook
Glossary
scale-chunks ( chunks xwidth xmin,xmax yheight ymin,ymax -- chunks' )
Vocabulary
ui
.
gadgets
.
charts
.
lines
.
private
Inputs
chunks
an
object
xwidth
an
object
xmin,xmax
an
object
yheight
an
object
ymin,ymax
an
object
Outputs
chunks'
an
object
Definition
USING:
assocs
kernel
sequences
;
IN:
ui.gadgets.charts.lines.private
:
scale-chunks
( chunks xwidth xmin,xmax yheight ymin,ymax -- chunks' )
[
scale-mapper
]
2bi@
[
bi*
]
2curry
[
assoc-map
]
curry
map
;