diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-06 23:16:06 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-06 23:16:06 +0100 |
commit | 519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1 (patch) | |
tree | 49eddcd0809dafa70f2fa626215988a91f4f5112 /src/dotty/tools/dotc/core/Decorators.scala | |
parent | 22fc38c4e062d299dc28fc429efdba4521db3651 (diff) | |
download | dotty-519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1.tar.gz dotty-519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1.tar.bz2 dotty-519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1.zip |
Polishing of scopes.
Diffstat (limited to 'src/dotty/tools/dotc/core/Decorators.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Decorators.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/Decorators.scala b/src/dotty/tools/dotc/core/Decorators.scala index 2e2c2db0d..dd93b216c 100644 --- a/src/dotty/tools/dotc/core/Decorators.scala +++ b/src/dotty/tools/dotc/core/Decorators.scala @@ -31,9 +31,8 @@ object Decorators { final val MaxFilterRecursions = 1000 - /** Implements a filterConserve method on lists that avoids - * duplication of list nodes if all tests yield true. Works for lists - * up to `MaxFilterRecursions` length. + /** Implements filterConserve, zipWithConserve methods + * on lists that avoid dupliation of list nodes where feasible. */ implicit class ListDecorator[T](val xs: List[T]) extends AnyVal { |