unliftio
exceptional
Our great sponsors
unliftio | exceptional | |
---|---|---|
5 | - | |
150 | 1 | |
0.0% | - | |
3.9 | 1.8 | |
4 months ago | over 3 years ago | |
Haskell | Haskell | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unliftio
-
UnliftIO, ExceptT and Coercible
FWIW, your suggestion is very similar to a proposed instance for MonadUnliftIO (ExceptT e), except that effectfuls use of the type system means that it doesn't suffer from one of the proposed downsides (dubious interaction with catchAny).
-
How introduce `ResourceT` into my stack
Possibly interesting thread here: https://github.com/fpco/unliftio/issues/68
-
Is `MonadBaseControl` dead?
Any way quoting u/snoyberg : https://github.com/fpco/unliftio/issues/17#issuecomment-363655106
-
Try.do is dangerous
That's not true. It's just writing that instance is a bit tricky: https://github.com/fpco/unliftio/issues/68
-
Try.do for recoverable errors in Haskell
However, ExceptT cannot be an instance of MonadUnliftIO – because it necessarily requires multiple exit points. See this discussion which should give you an idea of how hairy and unpredictable this can be.
exceptional
We haven't tracked posts mentioning exceptional yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
recursion-schemes - Generalized bananas, lenses and barbed wire
either - the EitherT monad transformer
lifted-base - IO operations from the base library lifted to any instance of MonadBase or MonadBaseControl
freer-simple - A friendly effect system for Haskell
mmorph - Monad morphisms
extensible-effects - Extensible Effects: An Alternative to Monad Transformers
Workflow - re-startable monad that recover the execution state from a log, and workflow patterns
monad-validate - (NOTE: REPOSITORY MOVED TO NEW OWNER: https://github.com/lexi-lambda/monad-validate) A Haskell monad transformer library for data validation
managed - A monad for managed values
freer-effects - An implementation of "Freer Monads, More Extensible Effects".
layers - Modular type class machinery for monad transformer stacks.
lens-tutorial - The missing tutorial module for the lens library