Module

Run.Except

#Except

newtype Except e a

Constructors

Instances

#EXCEPT

type EXCEPT e r = (except :: Except e | r)

#FAIL

type FAIL r = EXCEPT Unit r

#_except

_except :: Proxy "except"

#liftExcept

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

#liftExceptAt

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

#runExcept

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

#runExceptAt

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

#runFail

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

#runFailAt

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

#throw

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

#throwAt

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

#fail

fail :: forall a r. Run (FAIL + r) a

#failAt

failAt :: forall proxy t a r s. IsSymbol s => Cons s Fail t r => proxy s -> Run r a

#rethrow

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

#rethrowAt

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

#note

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

#noteAt

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

#fromJust

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

#fromJustAt

fromJustAt :: forall proxy t a r s. IsSymbol s => Cons s Fail t r => proxy s -> Maybe a -> Run r a

#catch

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

#catchAt

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

Modules