From 519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 6 Mar 2013 23:16:06 +0100 Subject: Polishing of scopes. --- src/dotty/tools/dotc/core/Decorators.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/core/Decorators.scala') 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 { -- cgit v1.2.3