[Int,Obj] to [Obj,Obj]¶
Description¶
Translates SOURCE [INTEGER,OBJ]
into SOURCE [OBJ,OBJ]
.
The OBJ
IDs to be used are given by OBJS
and are assigned arbitrarily to the reuslt.
WARNINGS:
This is a low-level block, do not use unless you know what you are doing.
This block assumes that
OBJS
has at least as many uniqueOBJ
IDs as there are uniqueINTEGER
values inSOURCE
.You should not use this block multiple times with the same
OBJS
input
Input¶
SOURCE [INTEGER,OBJ]
: a list of pairsOBJS [OBJ]
: a list of objects
Output¶
RESULT [OBJ,OBJ]
: The same list as inSOURCE
, where each uniqueINTEGER
has been replaced with a uniqueOBJ
coming fromOBJS