dimensional VS units

Compare dimensional vs units and see what are their differences.

dimensional

Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). (by bjornbm)

units

The home of the units Haskell package (by goldfirere)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
dimensional units
- 1
101 94
- -
0.0 5.3
about 1 year ago 2 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.

dimensional

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

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

units

Posts with mentions or reviews of units. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Frink is a programming language designed to make physical calculations simple
    6 projects | news.ycombinator.com | 3 Nov 2023
    It seems to me that Haskell would be a great language for such a thing, ensuring correctness at compile time through the type system, e.g. using the units package https://hackage.haskell.org/package/units https://github.com/goldfirere/units/tree/master/units

    It even has nice features like: "The laws of nature have dimensions, and they hold true regardless of the units used. For example, the gravitational force between two bodies is (gravitational constant) * (mass 1) * (mass 2) / (distance between body 1 and 2)^2, regardless of whether the distance is given in meters or feet or centimeters. In other words, every law of nature is unit-polymorphic."

    "The units package supports unit-polymorphic programs ..."

What are some alternatives?

When comparing dimensional and units you can also consider the following projects:

simple-smt

smtlib2 - SMTLib2 interface implementation for Haskell

polynomial - Haskell library for manipulating and evaluating polynomials

estimator - State-space estimation algorithms and models

uncertain - Manipulating numbers with inherent measurement/experimental uncertainty.

bayes-stack - Framework for Gibbs sampling of probabilistic models

monte-carlo - A Monte Carlo monad and transformer for Haskell.

hdr-histogram - Haskell implementation of HdrHistogram

matrix - A Haskell native implementation of matrices and their operations.

bed-and-breakfast - Matrix operations in 100% pure Haskell

hgeometry - HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. The main two focusses are: (1) Strong type safety, and (2) implementations of geometric algorithms and data structures that have good asymptotic running time guarantees.