Readonly
applyReadonly
flatReadonly
mapReadonly
pureReadonly
tailExecutes a stepper
while it returns a Continue<A>
. This exits only if stepper
returned a Break<A>
and forwards it.
Almost all of the MonadRec
instances are implemented with a simple while
loop because JavaScript runtime rarely optimizes a tail call.
A function to run with its control flow.
The execution result.
Generated using TypeDoc
An extended
Monad
also supports thetailRecM
operation.