safe-exceptions
machines
Our great sponsors
safe-exceptions | machines | |
---|---|---|
2 | 0 | |
129 | 322 | |
0.0% | - | |
0.0 | 4.0 | |
about 1 month ago | about 2 months ago | |
Haskell | Haskell | |
MIT License | GNU General Public License v3.0 or later |
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.
safe-exceptions
-
Async Control Flow
In safe-exception and uniftio it was decided to rethrow the original exception exactly because they decided to use uninterruptibleMask, see here for details.
-
Why exactly I want Boring Haskell to happen
unliftio (and safe-exceptions) contains a very controversial choice of of using uninterruptibleMask inside its bracket. The argument for it seem to come from this issue and comes from the fact that one of the most popular resource finalizers hClose is interruptible. This is a simplification. It is interruptible only if a file handle is used concurrently. Such usage of file handles is rather odd, and it suggest wrong architecture, for example leaking file handles using concurrency. When using file handles in synchronous setting, what withFile pattern encourages, hClose will not block and thus mask is enough.
machines
We haven't tracked posts mentioning machines yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
pipes - Compositional pipelines
apecs - a fast, extensible, type driven Haskell ECS framework for games
fused-effects - A fast, flexible, fused effect system for Haskell
daemons - Daemons in Haskell made fun and easy
recursion-schemes - Generalized bananas, lenses and barbed wire
extensible-effects - Extensible Effects: An Alternative to Monad Transformers
capability - Extensional capabilities and deriving combinators
selective - Selective Applicative Functors: Declare Your Effects Statically, Select Which to Execute Dynamically
cond - Basic conditional operators with monadic variants.
record - Anonymous records
ether - Monad Transformers and Classes
freer-simple - A friendly effect system for Haskell