menu
cowpay package
documentation
core/packages/dartz/dartz.dart
StateTMonad<F, S>
gets<A> method
gets<A> method
dark_mode
light_mode
gets<
A
>
method
StateT
<
F
,
S
,
A
>
gets
<
A
>(
A
f
(
S
s
)
)
Implementation
StateT<F, S, A> gets<A>(A f(S s)) => new StateT(_FM, (S s) => _FM.pure(new Tuple2(f(s), s)));
cowpay package
documentation
core/packages/dartz/dartz
StateTMonad<F, S>
gets<A> method
StateTMonad class