ListDecorator
Implements filterConserve, zipWithConserve methods on lists that avoid duplication of list nodes where feasible.
Implements filterConserve, zipWithConserve methods on lists that avoid duplication of list nodes where feasible.
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
Like xs filter p
but returns list xs
itself - instead of a copy -
if p
is true for all elements.
Like xs filter p
but returns list xs
itself - instead of a copy -
if p
is true for all elements.
Like xs.lazyZip(xs.indices).map(f)
, but returns list xs
itself
Like xs.lazyZip(xs.indices).map(f)
, but returns list xs
itself
- instead of a copy - if function
f
maps all elements ofxs
to themselves.