RosettaCodeData/Task/Enumerations/Mathematica/enumerations.math

12 lines
80 B
Plaintext

MapIndexed[Set, {A, B, F, G}]
->{{1}, {2}, {3}, {4}}
A
->{1}
B
->{2}
G
->{4}