RosettaCodeData/Task/Array-concatenation/Oz/array-concatenation.oz

6 lines
135 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
%% concatenating 2 lists
{Append [a b] [c d]} = [a b c d]
%% concatenating 2 tuples
{Tuple.append t(1 2 3) u(4 5 6)} = u(1 2 3 4 5 6)