object KNil extends KNil with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, KNil, KList[Types.NothingK], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KNil
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. KNil
  7. KList
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type Transform[N[_]] = KNil
    Definition Classes
    KNilKList

Value Members

  1. def :^:[M[_], H](h: M[H]): KCons[H, KNil, M]
  2. final def apply[N[x], Z](f: (KNil) ⇒ 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
    KNilKList
  3. final def foldr[B](f: (Types.NothingK[_], 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
    KNilKList
  4. final def toList: Nil.type

    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
    KNilKList
  5. final def transform[N[_]](f: ~>[Types.NothingK, N]): Transform[N]

    Apply the natural transformation f to each element.

    Apply the natural transformation f to each element.

    Definition Classes
    KNilKList
  6. final def traverse[N[_], P[_]](f: ~>[Types.NothingK, [T]N[P[T]]])(implicit np: Applicative[N]): N[KNil]

    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
    KNilKList