RosettaCodeData/Task/Array-concatenation/EMal/array-concatenation.emal

9 lines
215 B
Plaintext

^|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)