data-effects-0.3.0.1: A basic framework for effect systems based on effects represented by GADTs.
Safe HaskellNone
LanguageGHC2021

Data.Effect.Fail

Documentation

data Fail a where Source #

Constructors

Fail :: forall a. String -> Fail a 

pattern LFail :: forall a f a1. () => forall. (a ~ a1, ()) => String -> LiftFOE Fail f a Source #

fail :: forall a f. SendFOE Fail f => String -> f a Source #

fail' :: forall {k} (tag :: k) a f. SendFOE (Tag Fail tag) f => String -> f a Source #

fail'' :: forall {k} (key :: k) a f. SendFOEBy key Fail f => String -> f a Source #