Interface State<S,A>
- All Superinterfaces:
Bindable<State<S,,?>, A> Kind<State<S,,?>, A> Mappable<State<S,,?>, A> StateOf<S,A>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public non-sealed interface State<S,A>
extends StateOf<S,A>, Bindable<State<S,?>,A>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Astatic <S> State<S, S> get()static <S,A> State <S, A> static <S,A, B, C>
State<S, C> 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> pure(A value) default Sset(S value) static <S,A> State <S, A>