<indexed-seq> ( dseq-exemplar iseq-exemplar rassoc-exemplar -- indexed-seq )


Vocabulary
game.models.util

Inputs and outputs
dseq-exemplara sequence
iseq-exemplara sequence
rassoc-exemplaran assoc
indexed-seqan indexed-seq


Word description
Construct an indexed-seq using the given exemplars for the underlying data structures.

Definition


: <indexed-seq>
( dseq-exemplar iseq-exemplar rassoc-exemplar -- indexed-seq )
indexed-seq new swap clone >>rassoc swap clone >>iseq
swap clone >>dseq ;