3make-tuple ( x y z class assoc -- tuple )
Tuple-constructing combinators

Prev:2make-tuple ( x y class assoc -- tuple )
Next:nmake-tuple ( class assoc n -- quot )


Vocabulary
combinators.tuple

Inputs
xan object
yan object
zan object
classa class
assoca list of string/quotation pairs


Outputs
tuplea tuple


Word description
Constructs a tuple of class by calling the quotations making up the values of assoc on x, y, and z, assigning the result of each call to the slot named by the corresponding key. The quotations must have the effect ( x y z -- slot-value ). The order in which the quotations are called is undefined.

See also
1make-tuple, 2make-tuple, nmake-tuple

Definition

: 3make-tuple ( x y z class assoc -- tuple ) 3 nmake-tuple ;
inline