Module

Run.Except

#Except

newtype Except e a

Constructors

Instances

#EXCEPT

type EXCEPT e = FProxy (Except e)

#FAIL

#_except

_except :: SProxy "except"

#liftExcept

liftExcept :: forall e a r. Except e a -> Run (except :: EXCEPT e | r) a

#liftExceptAt

liftExceptAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> Except e a -> Run r a

#runExcept

runExcept :: forall e a r. Run (except :: EXCEPT e | r) a -> Run r (Either e a)

#runExceptAt

runExceptAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> Run r a -> Run t (Either e a)

#runFail

runFail :: forall a r. Run (except :: FAIL | r) a -> Run r (Maybe a)

#runFailAt

runFailAt :: forall t a r s. IsSymbol s => Cons s FAIL t r => SProxy s -> Run r a -> Run t (Maybe a)

#throw

throw :: forall e a r. e -> Run (except :: EXCEPT e | r) a

#throwAt

throwAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> e -> Run r a

#fail

fail :: forall a r. Run (except :: FAIL | r) a

#failAt

failAt :: forall t a r s. IsSymbol s => Cons s FAIL t r => SProxy s -> Run r a

#rethrow

rethrow :: forall e a r. Either e a -> Run (except :: EXCEPT e | r) a

#rethrowAt

rethrowAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> Either e a -> Run r a

#note

note :: forall e a r. e -> Maybe a -> Run (except :: EXCEPT e | r) a

#noteAt

noteAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> e -> Maybe a -> Run r a

#fromJust

fromJust :: forall a r. Maybe a -> Run (except :: FAIL | r) a

#fromJustAt

fromJustAt :: forall t a r s. IsSymbol s => Cons s FAIL t r => SProxy s -> Maybe a -> Run r a

#catch

catch :: forall e a r. (e -> Run r a) -> Run (except :: EXCEPT e | r) a -> Run r a

#catchAt

catchAt :: forall t e a r s. IsSymbol s => Cons s (EXCEPT e) t r => SProxy s -> (e -> Run t a) -> Run r a -> Run t a

Modules