Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 606 Bytes
name see
concat(...iterables)
flatten

Returns a new collection of the same type containing all the values of itself and the values of any number of other iterable collections in order.

--- |

For collections that do not allow duplicate values, like Set, concat will favor the last of all duplicates. For maps, the iterables are treated as map-like objects and each successively updates the result. For iterators, concat constructs a new iterator that will exhaust the values from each iterable in order, starting with this iterator.

concat is the variadic cousin of flatten.