units VS hgeometry

Compare units vs hgeometry and see what are their differences.

units

The home of the units Haskell package (by goldfirere)

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. (by noinia)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
units hgeometry
1 4
94 120
- -
5.3 0.0
2 months ago 3 days 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.

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 ..."

hgeometry

Posts with mentions or reviews of hgeometry. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-28.

What are some alternatives?

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

smtlib2 - SMTLib2 interface implementation for Haskell

math-programming-glpk - A GLPK backend to the Haskell math-programming library

polynomial - Haskell library for manipulating and evaluating polynomials

cubicbezier - Haskell library for manipulating cubic bezier curves

uncertain - Manipulating numbers with inherent measurement/experimental uncertainty.

nimber - Finite nimber arithmetic

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

geos - This is a Haskell binding to Geos, the open-source geometry library

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

computational-algebra - General-Purpose Computer Algebra System as an EDSL in Haskell

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

regress - Linear and logistic regression through automatic differentiation