scala/scala — pull request #3299 by xuwei-k (2013-12-23 08:18:23+00:00)
Title: fix Stream#flatten example

```
Welcome to Scala version 2.10.3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_45).
Type in expressions to have them evaluated.
Type :help for more information.

scala> val sov: Stream[Vector[Int]] = Vector(0) #:: Vector(0, 0) #:: sov.zip(sov.tail).map { n => n._1 ++ n._2 }
sov: Stream[Vector[Int]] = Stream(Vector(0), ?)

scala> sov flatten take 10 mkString ", "
:1: error: ';' expected but integer literal found.
sov flatten take 10 mkString ", "
^

scala> sov.flatten take 10 mkString ", "
res0: String = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
```