exceptions VS failure

Compare exceptions vs failure and see what are their differences.


mtl friendly exceptions (by ekmett)


A simple type class for success/failure computations. (by snoyberg)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SonarQube - Static code analysis for 29 languages.
  • Revelo Payroll - Free Global Payroll designed for tech teams
exceptions failure
1 0
47 7
- -
0.0 0.0
about 2 months ago over 9 years ago
Haskell Haskell
BSD 3-clause "New" or "Revised" 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.


Posts with mentions or reviews of exceptions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-21.
  • Async Control Flow
    7 projects | /r/haskell | 21 Mar 2021
    I see. Do you think rethrowing the original exception is the the right approach in all cases, or only in this case? In the documentation I wrote for the exceptions package, I recommend to let the release block's exceptions take priority, to match base's behavior. Should I recommend the opposite?


Posts with mentions or reviews of failure. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning failure yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing exceptions and failure you can also consider the following projects:

either - the EitherT monad transformer

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)

control-monad-exception - Explicitly Typed exceptions as a library

hask - Category theory for Haskell with a lens flavor (you need GHC 7.8.3, not 7.8.2 to build this!)

freer-simple - A friendly effect system for Haskell

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

categories - categories from category-extras

control-monad-omega - A Haskell monad for fair enumeration of infinite sets.

mtl - The Monad Transformer Library

apart - Get all your structure and rip it apart.

apecs - a fast, extensible, type driven Haskell ECS framework for games

funflow - Functional workflows