Run and return the final value and state in the context of F
Run and return the final value and state in the context of F
Run, discard the final state, and return the final value in the context of F
Run, discard the final state, and return the final value in the context of F
Run, discard the final state, and return the final value in the context of F
Run, discard the final state, and return the final value in the context of F
Calls eval
using Monoid[S].zero
as the initial state
Calls eval
using Monoid[S].zero
as the initial state
Calls eval
using Monoid[S].zero
as the initial state
Calls eval
using Monoid[S].zero
as the initial state
Run, discard the final value, and return the final state in the context of F
Run, discard the final value, and return the final state in the context of F
Run, discard the final value, and return the final state in the context of F
Run, discard the final value, and return the final state in the context of F
Calls exec
using Monoid[S].zero
as the initial state
Calls exec
using Monoid[S].zero
as the initial state
Calls exec
using Monoid[S].zero
as the initial state
Calls exec
using Monoid[S].zero
as the initial state
Alias for mapT
Alias for mapT
Map both the return value and final state using the given function.
Map both the return value and final state using the given function.
An alias for apply
An alias for apply
Run and return the final value and state in the context of F
Run and return the final value and state in the context of F
Calls run
using Monoid[S].zero
as the initial state
Calls run
using Monoid[S].zero
as the initial state
Calls run
using Monoid[S].zero
as the initial state
Calls run
using Monoid[S].zero
as the initial state
A state transition, representing a function
S => (S, A)
.