Algorithm.append

Adds all entries of an enumerable to a container.

Arguments

The

enumerable
to add entries from, can be a Container, a Range, or a builtin-list.
The
container
to add entries to (see Container).

Return values

None

Complexity

Depends on the container and the enumerable.

Example

"sl/algorithm" useFile "sl/linkedList" useFile a: (1 2 3) makeList; (4 5 6) a append a [print "," print] each
Output:
1,2,3,4,5,6,