The concat or augment command combines to lists or adds an element to a list.
concat([3,4,2],[1,2,4]) |
or:
augment([3,4,2],[1,2,4]) |
|
concat([3,4,2],5) |
or:
augment([3,4,2],5) |
|
concat(2,[5,4,3]) |
or:
augment(2,[5,4,3]) |
|
concat([[3,4,2]],[[1,2,4]]) |
or:
augment([[3,4,2]],[[1,2,4]]) |
|