Class ReferenceMonadState<F extends Kind<F,?>,S>
java.lang.Object
com.github.tonivade.purefun.typeclasses.ReferenceMonadState<F,S>
- All Implemented Interfaces:
Applicative<F>,Functor<F>,Invariant<F>,Monad<F>,MonadState<F,,S> Selective<F>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tonivade.purefun.typeclasses.Applicative
first, last, mapN, mapN, mapN, mapN, mapN, mapN, mapN, mapN, tuple, tuple, tuple, tupleMethods inherited from interface com.github.tonivade.purefun.typeclasses.Monad
andThen, ap, flatten, map, select, tailRecM, useMethods inherited from interface com.github.tonivade.purefun.typeclasses.MonadState
inspect, modify, state
-
Field Details
-
ref
-
monad
-
-
Constructor Details
-
ReferenceMonadState
-
-
Method Details
-
get
-
set
-
pure
- Specified by:
purein interfaceApplicative<F extends Kind<F,?>>
-
flatMap
-