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)

Type Members

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def :^:[A, N[x] >: M[x]](h: N[A]): KCons[A, KCons[H, T, M], N]
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def apply[N[x] >: M[x], Z](f: (Transform[Types.Id]) ⇒ Z)(implicit ap: Applicative[N]): N[Z]

    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
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foldr[B](f: (M[_], B) ⇒ B, init: B): B

    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[_]
    Definition Classes
    AnyRef → Any
  12. val head: M[H]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val tail: T
  19. def toList: List[M[_]]

    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]

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

    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
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    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