Type class witnessing that a collection representation typeRepr has elements of typeA and has a conversion toSeqOps[A, Iterable, C], for some typesA andC.
This type enables simple enrichment ofSeqs 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 oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[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.Int).
The type of elements we can traverse over (e.g.
The type of elements we can traverse over (e.g.Int).
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 oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[A] subclasses), where it is “only”View[A].
A conversion from the typeRepr toIterableOps[A, Iterable, C]
A conversion from the typeRepr toSeqOps[A, Iterable, C]
A conversion from the typeRepr toSeqOps[A, Iterable, C]
The second type parameter of the returnedSeqOps value is stillIterable (and notSeq) becauseSeqView[A] only extendsSeqOps[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\'