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