Merge pull request #42 from jamie-allen/master

DocSpree

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25297 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2011-07-15 22:59:08 +00:00
commit 4bc6703f68
1 changed files with 3 additions and 1 deletions

View File

@ -508,7 +508,9 @@ self =>
}
/** See #3273 and test case run/bug3273 for motivation. */
/** A specialized, extra-lazy implementation of a stream iterator, so it can
* iterate as lazily as it traverses the tail.
*/
final class StreamIterator[+A](self: Stream[A]) extends Iterator[A] {
// A call-by-need cell.
class LazyCell(st: => Stream[A]) {