data-effects-0.1.2.0: A basic framework for effect systems based on effects represented by GADTs.
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Effect.Fail

Documentation

data Fail (a :: Type) where Source #

Constructors

Fail :: String -> Fail a 

pattern LFail :: () => (a ~ a, ()) => String -> LiftIns Fail f a Source #

fail'' :: forall key (a :: Type) f. SendInsBy key Fail f => String -> f a Source #

fail' :: forall tag (a :: Type) f. SendIns (Tag Fail tag) f => String -> f a Source #

fail :: forall (a :: Type) f. SendIns Fail f => String -> f a Source #