scala.collection.generic.IsSeq
See theIsSeq companion objectType class witnessing that a collection representation type Repr
has elements of type A
and has a conversion to SeqOps[A, Iterable, C]
, for some types A
and C
.
This type enables simple enrichment of Seq
s with extension methods which can make full use of the mechanics of the Scala collections framework in their implementation.
The type returned by transformation operations that preserve the same elements type (e.g.
The type returned by transformation operations that preserve the same elements type (e.g. filter
, take
).
In practice, this type is often Repr
itself, excepted in the case of SeqView[A]
(and other View[A]
subclasses), where it is âonlyâ View[A]
.
The type of elements we can traverse over (e.g.
The type of elements we can traverse over (e.g.
The type returned by transformation operations that preserve the same elements type (e.g.
The type returned by transformation operations that preserve the same elements type (e.g. filter
, take
).
In practice, this type is often Repr
itself, excepted in the case of SeqView[A]
(and other View[A]
subclasses), where it is âonlyâ View[A]
.
A conversion from the type Repr
to IterableOps[A, Iterable, C]
A conversion from the type Repr
to IterableOps[A, Iterable, C]
A conversion from the type Repr
to SeqOps[A, Iterable, C]
A conversion from the type Repr
to SeqOps[A, Iterable, C]
The second type parameter of the returned SeqOps
value is still Iterable
(and not Seq
) because SeqView[A]
only extends SeqOps[A, View, View[A]]
.
[Since version 2.13.0]
\'conversion\' is now a method named \'apply\'
[Since version 2.13.0]
\'conversion\' is now a method named \'apply\'
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4