RosettaCodeData/Task/Array-concatenation/EMal/array-concatenation.emal
2023-07-01 13:44:08 -04:00

8 lines
205 B
Text

^|EMal has the concept of list expansion,
|you can expand a list to function arguments
|by prefixing it with the unary plus.
|^
List a = int[1,2,3]
List b = int[4,5,6]
List c = int[+a, +b]
writeLine(c)