Idris2Doc : Control.Eff.Internal

Control.Eff.Internal

(source)

Reexports

importpublic Control.MonadRec
importpublic Control.Monad.Free
importpublic Data.Union
importpublic Data.Subset

Definitions

Eff : List (Type->Type) ->Type->Type
  An effectful computation yielding a value
of type `t` and supporting the effects listed
in `fs`.

Totality: total
Visibility: public export
send : Hasffs=>ft->Efffst
  Lift a an effectful comutation into the `Eff` monad.

Totality: total
Visibility: export
toFree : Efffst->Handlerfsm->Freemt
  Handle all effectful computations in `m`,
returning the underlying free monad.

Totality: total
Visibility: export
runEff : MonadRecm=>Efffst->Handlerfsm->mt
  Run an effectful computation without overflowing
the stack by handling all computations in monad `m`.

Totality: total
Visibility: export
extract : Eff [] a->a
  Extract the (pure) result of an effectful computation
where all effects have been handled.

Totality: total
Visibility: export
handleRelay : {autoprf : Hasffs} -> (a->Eff (fs-f) b) -> (fv-> (v->Eff (fs-f) b) ->Eff (fs-f) b) ->Efffsa->Eff (fs-f) b
Totality: total
Visibility: export
handle : {autoprf : Hasffs} -> (fv-> (v->Eff (fs-f) b) ->Eff (fs-f) b) ->Efffsb->Eff (fs-f) b
Totality: total
Visibility: export
handleRelayS : {autoprf : Hasffs} ->s-> (s->a->Eff (fs-f) b) -> (s->fv-> (s->v->Eff (fs-f) b) ->Eff (fs-f) b) ->Efffsa->Eff (fs-f) b
Totality: total
Visibility: export
lift : Subsetfsfs'=>Efffsa->Efffs'a
  Turn effect monad into a more relaxed one. Can be used to reorder effects as well. See src/Test/Ordering.idr for usage.

Totality: total
Visibility: export