safe-exceptions
funflow
Our great sponsors
safe-exceptions | funflow | |
---|---|---|
3 | 3 | |
132 | 361 | |
0.0% | -0.3% | |
3.4 | 3.5 | |
6 months ago | 3 months ago | |
Haskell | Haskell | |
MIT License | MIT 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.
safe-exceptions
-
Spooky Masks and Async Exceptions
In case anyone is interested, there's a long discussion on this ticket. Still hoping somebody will respond to my comment.
-
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.
funflow
-
Is there anything like funflow for rust?
funflow is a cool library for writing "workflows", but basically it's a library that implements caching. So if you have a process that reads a file A, does transformation A → B, then does B → C, then C → D, then writes D to disk, each step of that will be cached to disk and you won't need to redo the A → B step if your program crashes during the B → C step.
-
Need a reason to start Haskell learning
You might wanna check out funflow
-
Experiences with workflow managers implemented in Haskell (funflow, porcupine, bioshake, ?)
Funflow: https://github.com/tweag/funflow
What are some alternatives?
unexceptionalio - IO without any PseudoExceptions
ChannelT - Generalized stream processors
ifcxt - constraint level if statements
lens-tutorial - The missing tutorial module for the lens library
atl - Arrow Transformer Library
hask - Category theory for Haskell with a lens flavor (you need GHC 7.8.3, not 7.8.2 to build this!)
effect-monad - Provides 'graded monads' and 'parameterised monads' to Haskell, enabling fine-grained reasoning about effects.
apecs - a fast, extensible, type driven Haskell ECS framework for games
transient - A full stack, reactive architecture for general purpose programming. Algebraic and monadically composable primitives for concurrency, parallelism, event handling, transactions, multithreading, Web, and distributed computing with complete de-inversion of control (No callbacks, no blocking, pure state)
selective - Selective Applicative Functors: Declare Your Effects Statically, Select Which to Execute Dynamically
time-warp
recursion-schemes - Generalized bananas, lenses and barbed wire