unliftio VS Workflow

Compare unliftio vs Workflow and see what are their differences.

unliftio

The MonadUnliftIO typeclass for unlifting monads to IO (by fpco)

Workflow

re-startable monad that recover the execution state from a log, and workflow patterns (by agocorona)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
unliftio Workflow
5 1
150 42
0.0% -
3.9 0.0
4 months ago almost 8 years 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.

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
    1 project | /r/haskell | 18 Feb 2023
    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
    3 projects | /r/haskell | 14 Oct 2022
    Possibly interesting thread here: https://github.com/fpco/unliftio/issues/68
  • Is `MonadBaseControl` dead?
    3 projects | /r/haskell | 21 Jun 2021
    Any way quoting u/snoyberg : https://github.com/fpco/unliftio/issues/17#issuecomment-363655106
  • Try.do is dangerous
    2 projects | /r/haskell | 23 Dec 2020
    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
    1 project | /r/haskell | 21 Dec 2020
    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.

Workflow

Posts with mentions or reviews of Workflow. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-11.
  • Event Sourcing
    8 projects | news.ycombinator.com | 11 Aug 2021
    I was part of that debate, I remember a rather interesting point of discussion: Is the main operation "apply" or "dedup"

    Apply seems to be the common notion of event sourcing: There is a function apply that takes a state an event and yields a new state. Then, starting in an init state and iteratively applying the entire event history, boom, latest state restored.

    Dedup has a lot of charm though: Run and rerun your code, if that step of your code is executed for the first time (no corresponding event in the event history) execute the step and store its result as an event in the history, however, if that step of your code is executed for the second, third time (there is a corresponding event in the event history) do not execute the step and return its result from the event in the history. The Haskell Workflow Package (https://hackage.haskell.org/package/Workflow) is a good example

    Temporal follows the second approach, so "proper" Event Sourcing? You be the judge :)

What are some alternatives?

When comparing unliftio and Workflow you can also consider the following projects:

recursion-schemes - Generalized bananas, lenses and barbed wire

cloud-haskell - This is an umbrella development repository for Cloud Haskell

lifted-base - IO operations from the base library lifted to any instance of MonadBase or MonadBaseControl

effect-monad - Provides 'graded monads' and 'parameterised monads' to Haskell, enabling fine-grained reasoning about effects.

mmorph - Monad morphisms

record - Anonymous records

managed - A monad for managed values

lens-tutorial - The missing tutorial module for the lens library

exceptional - A simple Haskell type for pure code that could go wrong.

rio-orphans - A standard library for Haskell

layers - Modular type class machinery for monad transformer stacks.

monad-time