mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-16 01:25:24 +00:00
4 lines
142 B
Python
4 lines
142 B
Python
concat|T, M: Nat, N: Nat|(l: [T; M], r: [T; N]): [T; M + N] = l + r
|
|
|
|
l: [Nat; 6] = concat [1, 2, 3], [4, 5, 6]
|
|
assert l == [1, 2, 3, 4, 5, 6]
|