@mikuroxina/mini-fn
Preparing search index...
State
withStateT
Function withStateT
withStateT
<
S
,
M
,
A
>
(
fn
:
(
state
:
S
)
=>
S
,
)
:
(
s
:
StateT
<
S
,
M
,
A
>
)
=>
StateT
<
S
,
M
,
A
>
Modifies the state of the computation
s
with
fn
.
Type Parameters
S
M
A
Parameters
fn
:
(
state
:
S
)
=>
S
The state modifier.
Returns
(
s
:
StateT
<
S
,
M
,
A
>
)
=>
StateT
<
S
,
M
,
A
>
The modified computation.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Modifies the state of the computation
swithfn.