unliftio
The MonadUnliftIO typeclass for unlifting monads to IO (by fpco)
snap-core
Core type definitions (Snap monad, HTTP types, etc) and utilities for web handlers. (by snapframework)
Our great sponsors
unliftio | snap-core | |
---|---|---|
5 | 1 | |
150 | 317 | |
0.0% | 0.0% | |
3.9 | 4.8 | |
3 months ago | 8 days ago | |
Haskell | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of unliftio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-14.
-
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.
snap-core
Posts with mentions or reviews of snap-core.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-21.
-
Is `MonadBaseControl` dead?
Then I found Snap has a MonadBaseControl instance, and thought it should work for me. But sadly to find it losing states. Also I failed to find a user side example of MonadBaseControl on Github (as there're only instance impl. hits), so I have not way to verify whether that's due to my incorrect usage.
What are some alternatives?
When comparing unliftio and snap-core you can also consider the following projects:
recursion-schemes - Generalized bananas, lenses and barbed wire
Gitit - A wiki using HAppS, pandoc, and git
lifted-base - IO operations from the base library lifted to any instance of MonadBase or MonadBaseControl
ekg - Remote monitoring of running processes over HTTP
mmorph - Monad morphisms
yandex-translate - Haskell API to yandex translate and dictionary service
Workflow - re-startable monad that recover the execution state from a log, and workflow patterns
consul-haskell - A haskell client library for consul (consul.io)
exceptional - A simple Haskell type for pure code that could go wrong.
LDAP - Bindings for LDAP [Haskell]
managed - A monad for managed values
docker - A Haskell library for the Docker Engine API