menu
cowpay package
documentation
core/packages/dartz/dartz.dart
StateTMonad<F, S>
withState<A> method
withState<A> method
dark_mode
light_mode
withState<
A
>
method
StateT
<
F
,
S
,
A
>
withState
<
A
>(
StateT
<
F
,
S
,
A
>
f
(
S
s
)
)
Implementation
StateT<F, S, A> withState<A>(StateT<F, S, A> f(S s)) => get().bind(f);
cowpay package
documentation
core/packages/dartz/dartz
StateTMonad<F, S>
withState<A> method
StateTMonad class