HKT key applied to MonadFail.
Passing context type.
ReadonlyaddBinds a new value wrapped by the monad.
ReadonlyaddBinds a new value wrapped by the monad, calculated from ctx by fn.
ReadonlyaddAppends a new value calculated from ctx by fn.
The new property key for context
The calculation.
A new CatT containing the value at the key.
ReadonlyassertAsserts the predicate or return early with the error message.
ReadonlyctxContained context. Altering an interior value must be abstained, or may occurs unsound behaviors.
ReadonlyfailAborts the execution and return early with the error message.
ReadonlyfinishReduces the context into a value by fn.
ReadonlyfinishReduces the context into a value on M by fn.
ReadonlyloopRuns a looping computation while it returns Continue<S>.
An initial state.
A computation to run.
A new CatT with modified environment.
ReadonlymonadThe MonadFail instance for M.
ReadonlyrunRuns the computation.
ReadonlyrunRuns the computation with the context.
ReadonlywhenRuns a computation if only cond is satisfied.
ReadonlywhileRuns a looping computation while cond returns true.
A combinator which contains a
ctxand can be transformed it into another one by its methods.