Vocabulary
assocs

Inputs
seqa sequence
assocan assoc


Outputs
newseqa sequence


Word description
Creates a new sequence where elements of seq which appear as keys in assoc are replaced by the corresponding values, and all other elements are unchanged.

Definition