Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- module HaskellWorks.Error
- trap :: forall e r a. (e -> Sem r a) -> Sem (Error e ': r) a -> Sem r a
- trap_ :: forall e r a. Sem r a -> Sem (Error e ': r) a -> Sem r a
- embedRunExceptT :: Member (Embed m) r => ExceptT e m a -> Sem r (Either e a)
- embedThrowExceptT :: Member (Error e) r => Member (Embed m) r => ExceptT e m a -> Sem r a