refined VS algebraic-classes

Compare refined vs algebraic-classes and see what are their differences.


Refinement types with static checking (by nikita-volkov)


Conversions between algebraic classes and F-algebras. (by sjoerdvisscher)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
refined algebraic-classes
1 0
180 10
- -
2.0 0.0
9 months ago over 3 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.


Posts with mentions or reviews of refined. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-28.
  • Can types replace validation?
    2 projects | /r/programming | 28 Aug 2022
    In one respect, nothing. You’re right. Even given refinement types as in Haskell or Scala, there is indeed a necessarily-partial function (refineV in Scala) to refine a value to its refinement type.


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

We haven't tracked posts mentioning algebraic-classes yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing refined and algebraic-classes you can also consider the following projects:

lens - Lenses, Folds, and Traversals - Join us on #haskell-lens

bson - Haskell representation and serialization of BSON documents (version 1.0) as defined at

elf - Parser for ELF object format.

semantic-source - Parsing, analyzing, and comparing source code across many languages

text - Haskell library for space- and time-efficient operations over Unicode text.

primitive - This package provides various primitive memory-related operations.

fmlist - FoldMap lists

critbit - A Haskell implementation of crit-bit trees.

llrbtree - Left-leaning red-black trees

discrimination - Fast linear time sorting and discrimination for a large class of data types

hashable - A class for types that can be converted to a hash value

hnix - A Haskell re-implementation of the Nix expression language