Packages

trait IsSeq[Repr] extends IsIterable[Repr]

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.

Source
IsSeq.scala
See also

scala.collection.generic.IsIterable

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IsSeq
  2. IsIterable
  3. IsIterableOnce
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type A

    The type of elements we can traverse over (e.g.

    The type of elements we can traverse over (e.g. Int).

    Definition Classes
    IsIterableOnce
  2. abstract type C

    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].

    Definition Classes
    IsIterable

Abstract Value Members

  1. abstract def apply(coll: Repr): SeqOps[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]

    Definition Classes
    IsSeqIsIterableIsIterableOnce
    Note

    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]].

Deprecated Value Members

  1. val conversion: (Repr) => SeqOps[A, Iterable, C]
    Definition Classes
    IsSeqIsIterableIsIterableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) 'conversion' is now a method named 'apply'