RosettaCodeData/Task/Associative-array-Merging/Mathematica/associative-array-merging.math
2023-07-01 13:44:08 -04:00

3 lines
158 B
Text

a1 = <|"name" -> "Rocket Skates", "price" -> 12.75, "color" -> "yellow"|>;
a2 = <|"price" -> 15.25, "color" -> "red", "year" -> 1974|>;
Merge[{a1, a2}, Last]