Handbook
Glossary
3nested-map ( seq1 seq2 seq3 quot -- seq )
Vocabulary
sequences
.
extras
Inputs
seq1
a
sequence
seq2
a
sequence
seq3
a
sequence
quot
a
quotation
Outputs
seq
a
sequence
Word description
Applies quotation to all triples of elements from
seq1
,
seq2
and
seq3
in turn, yielding new elements which are collected into a new sequence having the same class as
seq1
. Order is the same as a nested for loop.
Definition
USING:
kernel
;
IN:
sequences.extras
:
3nested-map
( seq1 seq2 seq3 quot -- seq )
reach
3nested-map-as
;
inline