Freer
Toggle table of contents
0.5.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
Freer
freer
/
com.benjaminearley.freer.effects
/
runStateWithFinal
run
State
With
Final
fun
<
S
,
A
>
Program
<
A
>
.
runStateWithFinal
(
initial
:
S
)
:
Program
<
Pair
<
A
,
S
>
>
(
source
)
Like
runState
, but also returns the final state alongside the result.