arrow-core / arrow.core.extensions.either.functor / arrow.core.Either

Extensions for arrow.core.Either

functor The Functor type class abstracts the ability to map over the computational context of a type constructor. Examples of type constructors that can implement instances of the Functor type class include arrow.core.Option, arrow.core.NonEmptyList, List and many other data types that include a map function with the shape fun <F, A, B> Kind<F, A>.map(f: (A) -> B): Kind<F, B> where F refers to any type constructor whose contents can be transformed.fun <L> Either.Companion.~~functor~~(): EitherFunctor<L>

Do you like Arrow?

Arrow Org
<