Interface EitherFunctor<L>

All Superinterfaces:
Functor<Either<L,?>>, Invariant<Either<L,?>>

interface EitherFunctor<L> extends Functor<Either<L,?>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final EitherFunctor
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T, R> Either<L,R>
    map(Kind<Either<L,?>,? extends T> value, Function1<? super T,? extends R> map)
     

    Methods inherited from interface com.github.tonivade.purefun.typeclasses.Functor

    imap, lift