Scala problem: You have a list of lists (or more generally, a sequence of sequences) and want to create one list (sequence) from them.
(The following solution comes from the Scala Cookbook, which I wrote.)
Scala problem: You have a list of lists (or more generally, a sequence of sequences) and want to create one list (sequence) from them.
(The following solution comes from the Scala Cookbook, which I wrote.)