Idris2Doc : Control.Effect.Fail

Control.Effect.Fail

(source)

Definitions

dataFailE : Type-> (Type->Type) ->Type->Type
Totality: total
Visibility: public export
Constructor: 
Fail : e->FailEema

Hints:
Functor (\e=>FailEema)
Inj (EitherEe) sig=>Inj (FailEe) sig
fail : Inj (FailEe) sig=>Algebrasigm=>e->ma
  Fail a computation.

Visibility: public export
fromEither : Inj (FailEe) sig=>Algebrasigm=>Eithereb->mb
Visibility: public export
glueFail : {0m : Type->Type} ->Inj (FailEe) sig=> (e'->e) -> (Inj (FailEe') sig=>ma) ->ma
  Given a transformation between two failure types `e'` and `e`,
run an effectful computation `act` in the context
with the transformed failure.

Visibility: export