previous next |
Concat, ConcatLists |
Syntax |
Concat(L_1:LIST,...,L_n:LIST):LIST ConcatLists([L_1:LIST,...,L_n:LIST]):LIST |
Summary |
concatenate lists or lists of lists, respectively |
Description |
The first function returns the list obtained by concatenating lists L_1,...,L_n. |
Example |
Concat([1,2,3],[4,5],[],[6]); [1, 2, 3, 4, 5, 6] The second function takes a list whose components are lists and returns the concatenation of these components. |
Example |
L := [[1,2],["abc","def"],[3,4]]; ConcatLists(L); [1, 2, "abc", "def", 3, 4] ------------------------------- |
See also: |