diff options
author | Paul Phillips <paulp@improving.org> | 2010-12-31 08:52:12 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-12-31 08:52:12 +0000 |
commit | 1259651a7ded65809d63d6b2744d4d097cc90ead (patch) | |
tree | a1cecb7281c3aad8f00fdd20d85474feb77c8e36 /src/compiler | |
parent | 740fcf90bd7bfe4d4c322d2c7912e4df04200d90 (diff) | |
download | scala-1259651a7ded65809d63d6b2744d4d097cc90ead.tar.gz scala-1259651a7ded65809d63d6b2744d4d097cc90ead.tar.bz2 scala-1259651a7ded65809d63d6b2744d4d097cc90ead.zip |
Even after the mostly blissful marriage of Trav...
Even after the mostly blissful marriage of Traversable and Iterator
there was some fussin' and fightin' over who should have to care for
Option. Now there is peace among the collections once again.
// before
scala> Iterator(Some(1), None).flatten
<console>:6: error: value flatten is not a member of Iterator[Option[Int]]
// after
scala> Iterator(Some(1), None).flatten
res0: Iterator[Int] = non-empty iterator
Review by moors.
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions