arrow-core / arrow.core.extensions / NonEmptyListComonad
interface ~~NonEmptyListComonad~~ : Comonad<ForNonEmptyList>
Deprecated: Comonad typeclass is deprecated and will be removed in 0.13.0. Use concrete methods on NonEmptyList.
coflatMap | open fun <A, B> NonEmptyListOf<A>.coflatMap(f: (NonEmptyListOf<A>) -> B): NonEmptyList<B> |
extract | open fun <A> NonEmptyListOf<A>.extract(): A |
map | open fun <A, B> NonEmptyListOf<A>.map(f: (A) -> B): NonEmptyList<B> |
Do you like Arrow?
✖