assoc-like ( assoc exemplar -- newassoc )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping protocol

Prev:new-assoc ( capacity exemplar -- newassoc )
Next:assoc= ( assoc1 assoc2 -- ? )


Vocabulary
assocs

Inputs
assocan assoc
exemplaran assoc


Outputs
newassoca new assoc


Generic word contract
Creates a new assoc having the same entries as assoc and the same type as exemplar.

Definition

GENERIC: assoc-like ( assoc exemplar -- newassoc )


Methods