arrow-recursion-data / arrow.recursion.pattern / NonEmptyListF

NonEmptyListF

@higherkind data class NonEmptyListF<A, B>

Constructors

<init> NonEmptyListF(head: A, tail: Option<B>)

Properties

head val head: A
tail val tail: Option<B>

Functions

map fun <C> map(f: (B) -> C): NonEmptyListF<A, C>

Do you like Arrow?

Arrow Org
<