diff options
author | Paolo Giarrusso <p.giarrusso@gmail.com> | 2012-08-20 22:43:42 +0200 |
---|---|---|
committer | Paolo Giarrusso <p.giarrusso@gmail.com> | 2012-08-20 22:43:42 +0200 |
commit | 631faf4094a0dc86de958c46e3e833ee0abe9db7 (patch) | |
tree | 985839c462d4a0adc249c8a8236dd50945c156ff /src/library | |
parent | 80b3f433e5536d086806fa108ccdfacf10719cc2 (diff) | |
download | scala-631faf4094a0dc86de958c46e3e833ee0abe9db7.tar.gz scala-631faf4094a0dc86de958c46e3e833ee0abe9db7.tar.bz2 scala-631faf4094a0dc86de958c46e3e833ee0abe9db7.zip |
Remove commented out code
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/immutable/Stream.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/library/scala/collection/immutable/Stream.scala b/src/library/scala/collection/immutable/Stream.scala index c8e7e7547f..97707d4f7c 100644 --- a/src/library/scala/collection/immutable/Stream.scala +++ b/src/library/scala/collection/immutable/Stream.scala @@ -493,15 +493,6 @@ self => throw new RuntimeException() } - /* - def tailMap = asStream[B](tail withFilter p map f) - if (isStreamBuilder(bf)) asThat( - if (isEmpty) Stream.Empty - else if (p(head)) cons(f(head), tailMap) - else tailMap - //XXX Alternative: what about having a Stream.step constructor? - ) - */ if (isStreamBuilder(bf)) asThat(tailMap(Stream.this)) else super.map(f)(bf) } @@ -521,14 +512,6 @@ self => throw new RuntimeException() } - /* - def tailFlatMap = asStream[B](tail withFilter p flatMap f) - if (isStreamBuilder(bf)) asThat( - if (isEmpty) Stream.Empty - else if (p(head)) f(head).toStream append tailFlatMap - else tailFlatMap - ) - */ if (isStreamBuilder(bf)) asThat(tailFlatMap(Stream.this)) else super.flatMap(f)(bf) } |