Idris2Doc : Control.Monad.Elin

Control.Monad.Elin

(source)

Reexports

importpublic Control.Monad.MCancel
importpublic Data.Linear.ELift1

Definitions

recordElin : Type->ListType->Type->Type
  A monad for running pure, stateful computations in
state thread `s` with the potential of failing with one
of the errors listed in `es`.

Totality: total
Visibility: public export
Constructor: 
E : E1sesa->Elinsesa

Projection: 
.run : Elinsesa->E1sesa

Hints:
ELift1s (Elins)
HasIO (ElinWorldes)
MCancel (Elins)
MErr (Elins)
.run : Elinsesa->E1sesa
Totality: total
Visibility: public export
run : Elinsesa->E1sesa
Totality: total
Visibility: public export
runElin : Elinsesa->Resultesa
  When universally quantified over `s`, the `Elin` monad can
be run to produce a pure value of type `Result es a`, even though
running the value might involve working with freshly allocated
mutable state.

Totality: total
Visibility: export
runElinIO : ElinWorldesa->IO (Resultesa)
  When tagged with `World`, the `Elin` monad is just `IO` plus
error handling.

Totality: total
Visibility: export