Class

sbt.internal.util

KCons

Related Doc: package util

Permalink

final case class KCons[H, +T <: KList[M], +M[_]](head: M[H], tail: T) extends KList[M] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, KList[M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KCons
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. KList
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KCons(head: M[H], tail: T)

    Permalink

Type Members

  1. final type Transform[N[_]] = KCons[H, T.Transform[N], N]

    Permalink
    Definition Classes
    KConsKList

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :^:[A, N[x] >: M[x]](h: N[A]): KCons[A, KCons[H, T, M], N]

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def apply[N[x] >: M[x], Z](f: (Transform[Types.Id]) ⇒ Z)(implicit ap: Applicative[N]): N[Z]

    Permalink

    Applies f to the elements of this list in the applicative functor defined by ap.

    Applies f to the elements of this list in the applicative functor defined by ap.

    Definition Classes
    KConsKList
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foldr[T](f: (M[_], T) ⇒ T, init: T): T

    Permalink

    Folds this list using a function that operates on the homogeneous type of the elements of this list.

    Folds this list using a function that operates on the homogeneous type of the elements of this list.

    Definition Classes
    KConsKList
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val head: M[H]

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. val tail: T

    Permalink
  19. def toList: List[M[_]]

    Permalink

    Discards the heterogeneous type information and constructs a plain List from this KList's elements.

    Discards the heterogeneous type information and constructs a plain List from this KList's elements.

    Definition Classes
    KConsKList
  20. def transform[N[_]](f: ~>[M, N]): KCons[H, T.Transform[N], N]

    Permalink

    Apply the natural transformation f to each element.

    Apply the natural transformation f to each element.

    Definition Classes
    KConsKList
  21. def traverse[N[_], P[_]](f: ~>[M, [T]N[P[T]]])(implicit np: Applicative[N]): N[Transform[P]]

    Permalink

    Equivalent to transform(f) . apply(x => x), this is the essence of the iterator at the level of natural transformations.

    Equivalent to transform(f) . apply(x => x), this is the essence of the iterator at the level of natural transformations.

    Definition Classes
    KConsKList
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from KList[M]

Inherited from AnyRef

Inherited from Any

Ungrouped