Interface Mappable<F extends Mappable<F,?>,A>

All Superinterfaces:
Kind<F,A>
All Known Subinterfaces:
Applicable<F,A>, Bindable<F,A>, Effect<F,A>, Either<L,R>, EitherT<F,L,R>, Eval<A>, Free<F,A>, FreeAp<F,A>, Future<T>, ImmutableArray<E>, ImmutableList<E>, ImmutableSet<E>, ImmutableTree<E>, IO<T>, Kleisli<F,Z,A>, Option<T>, OptionT<F,T>, Promise<T>, PureIO<R,E,A>, PureStream<F,T>, Reader<R,A>, Sequence<E>, State<S,A>, StateT<F,S,A>, Trampoline<T>, Try<T>, Validation<E,T>, Writer<L,A>, WriterT<F,L,A>
All Known Implementing Classes:
Cons, EIO, Either.Left, Either.Right, Eval.Defer, Eval.Done, Eval.FlatMapped, Free.FlatMapped, Free.Pure, Free.Suspend, FreeAp.Apply, FreeAp.Lift, FreeAp.Pure, FutureImpl, Id, ImmutableArray.PImmutableArray, ImmutableList.PImmutableList, ImmutableSet.PImmutableSet, ImmutableTree.PImmutableTree, IO.Async, IO.Delay, IO.Failure, IO.FlatMapped, IO.Pure, IO.Recover, IO.Suspend, Nil, NonEmptyList, Option.None, Option.Some, PromiseImpl, PureIO.AccessM, PureIO.Async, PureIO.Attempt, PureIO.Delay, PureIO.Failure, PureIO.FlatMapped, PureIO.Pure, PureIO.Recover, PureIO.Suspend, PureIO.Throw, RIO, Suspend, Task, Trampoline.Done, Trampoline.More, Try.Failure, Try.Success, UIO, URIO, Validation.Invalid, Validation.Valid

public interface Mappable<F extends Mappable<F,?>,A> extends Kind<F,A>
  • Method Summary

    Modifier and Type
    Method
    Description
    <R> Mappable<F,R>
    map(Function1<? super A,? extends R> mapper)
     
    static <F extends Mappable<F, ?>, A>
    Mappable<F,A>
    narrowK(Kind<F,? extends A> kind)
     

    Methods inherited from interface com.github.tonivade.purefun.Kind

    fix, kind