Uses of Interface
com.github.tonivade.purefun.monad.State
Packages that use State
-
Uses of State in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances that return StateModifier and TypeMethodDescriptionStateMonad.flatMap(Kind<State<S, ?>, ? extends T> value, Function1<? super T, ? extends Kind<State<S, ?>, ? extends R>> map) StateMonadState.get()StateMonad.pure(T value) StateConsole.readln()Methods in com.github.tonivade.purefun.instances that return types with arguments of type StateModifier and TypeMethodDescriptionstatic Console<State<ImmutableList<String>, ?>> StateInstances.console()StateInstances.monad()static <S> MonadState<State<S, ?>, S> StateInstances.monadState()Method parameters in com.github.tonivade.purefun.instances with type arguments of type State -
Uses of State in com.github.tonivade.purefun.monad
Methods in com.github.tonivade.purefun.monad that return StateModifier and TypeMethodDescriptionstatic <S> State<S, S> State.get()static <S,A> State <S, A> static <S,A, B, C>
State<S, C> State.map2(State<S, ? extends A> sa, State<S, ? extends B> sb, Function2<? super A, ? super B, ? extends C> mapper) static <S,A> State <S, A> State.pure(A value) State.set(S value) static <S,A> State <S, A> static <S,A> State <S, A> Methods in com.github.tonivade.purefun.monad with parameters of type StateModifier and TypeMethodDescriptionstatic <S,A, B, C>
State<S, C> State.map2(State<S, ? extends A> sa, State<S, ? extends B> sb, Function2<? super A, ? super B, ? extends C> mapper) Method parameters in com.github.tonivade.purefun.monad with type arguments of type State