Type 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 Seqs with extension methods which can make full use of the mechanics of the Scala collections framework in their implementation.
Type parameters
- Repr
-
the collection representation type that is witnessed to have sequence-like operations
Attributes
- See also
- Companion
- object
- Source
- IsSeq.scala
- Graph
-
- Supertypes
Members list
Type members
Types
The type returned by transformation operations that preserve the same elements type (e.g. filter, take).
The type returned by transformation operations that preserve the same elements type (e.g. filter, take).
In practice, this type is often Repr itself, except in the case of SeqView[A] (and other View[A] subclasses), where it is View[A].
Attributes
- Source
- IsIterable.scala
Inherited and Abstract types
The type of elements we can traverse over (e.g. Int).
The type of elements we can traverse over (e.g. Int).
Attributes
- Inherited from:
- IsIterableOnce
- Source
- IsIterableOnce.scala
The type of elements we can traverse over (e.g. Int).
The type of elements we can traverse over (e.g. Int).
Attributes
- Inherited from:
- IsIterableOnce
- Source
- IsIterableOnce.scala
The type returned by transformation operations that preserve the same elements type (e.g. filter, take).
The type returned by transformation operations that preserve the same elements type (e.g. filter, take).
In practice, this type is often Repr itself, except in the case of SeqView[A] (and other View[A] subclasses), where it is View[A].
Attributes
- Inherited from:
- IsIterable
- Source
- IsIterable.scala
Value members
Abstract methods
A conversion from the type Repr to IterableOps[A, Iterable, C].
A conversion from the type Repr to IterableOps[A, Iterable, C].
Value parameters
- coll
-
the collection or value to convert to
IterableOps[A, Iterable, C]
Attributes
- Returns
-
an
IterableOps[A, Iterable, C]instance that exposes the iterable operations ofcoll - Source
- IsIterable.scala
A conversion from the type Repr to SeqOps[A, Iterable, C]
A conversion from the type Repr to SeqOps[A, Iterable, C]
Value parameters
- coll
-
the collection to convert
Attributes
- Returns
-
a
SeqOpsinstance that provides sequence operations oncoll - Note
-
The second type parameter of the returned
SeqOpsvalue is stillIterable(and notSeq) becauseSeqView[A]only extendsSeqOps[A, View, View[A]]. - Source
- IsSeq.scala
Deprecated fields
Attributes
- Deprecated
-
[Since version 2.13.0]\'conversion\' is now a method named \'apply\' - Source
- IsIterable.scala
Attributes
- Deprecated
-
[Since version 2.13.0]\'conversion\' is now a method named \'apply\' - Source
- IsSeq.scala