either VS exceptions

Compare either vs exceptions and see what are their differences.

either

the EitherT monad transformer (by ekmett)

exceptions

mtl friendly exceptions (by ekmett)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
either exceptions
- 1
54 48
- -
0.6 4.4
about 1 year ago 3 months 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.

either

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

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

exceptions

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?

What are some alternatives?

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

distributed-process-platform - DEPRECATED (Cloud Haskell Platform) in favor of distributed-process-extras, distributed-process-async, distributed-process-client-server, distributed-process-registry, distributed-process-supervisor, distributed-process-task and distributed-process-execution

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

categories - categories from category-extras

failure - A simple type class for success/failure computations.

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

ComonadSheet - A library for expressing "spreadsheet-like" computations with absolute and relative references, using fixed-points of n-dimensional comonads.

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

record - Anonymous records

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

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