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