Handbook
Glossary
<indexed-seq> ( dseq-exemplar iseq-exemplar rassoc-exemplar -- indexed-seq )
Vocabulary
game
.
models
.
util
Inputs
dseq-exemplar
a
sequence
iseq-exemplar
a
sequence
rassoc-exemplar
an
assoc
Outputs
indexed-seq
an
indexed-seq
Word description
Construct an
indexed-seq
using the given exemplars for the underlying data structures.
Definition
USING:
accessors
kernel
;
IN:
game.models.util
:
<indexed-seq>
( dseq-exemplar iseq-exemplar rassoc-exemplar -- indexed-seq )
indexed-seq
new
swap
clone
>>rassoc
swap
clone
>>iseq
swap
clone
>>dseq
;