flatten
trait Collection[A] { def flatten[B]: Collection[B] }
flatten creates a collection by using the elements of this collection’s subcollections.