Idris2Doc : Control.Monad.Pure

Control.Monad.Pure

(source)

Reexports

importpublic Data.Linear.Token

Definitions

recordPure : Type->Type->Type
  A monad of pure computations with suport for localized
mutable state.

When universally quantified over `s`, this is like
`Control.Monad.ST` from base, but proper compiler support
for efficient code generation.

On the other hand, `Pure World` is isomorphic to `IO`.

Totality: total
Visibility: public export
Constructor: 
P : F1sa->Puresa

Projection: 
.run : Puresa->F1sa

Hints:
Applicative (Pures)
Applicative (Pures)
Functor (Pures)
Functor (Pures)
HasIO (PureWorld)
HasIO (PureWorld)
Lift1s (Pures)
Lift1s (Pures)
Monad (Pures)
Monad (Pures)
.run : Puresa->F1sa
Totality: total
Visibility: public export
run : Puresa->F1sa
Totality: total
Visibility: public export
runPure : Puresa->a
  Runs a pure computation, probably with localized mutable state.

Totality: total
Visibility: export
runPureIO : HasIOio=>PureWorlda->ioa
  `Pure World` can be run in any monad that wraps `IO`.

Totality: total
Visibility: export