units
rink-rs
units | rink-rs | |
---|---|---|
1 | 4 | |
94 | 394 | |
- | - | |
5.3 | 7.5 | |
3 months ago | 7 days ago | |
Haskell | Rust | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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
-
Frink is a programming language designed to make physical calculations simple
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 ..."
rink-rs
- Frink is a programming language designed to make physical calculations simple
-
Fundamental difference between "types" and "units"?
1
-
Scientific Computing in Rust
What is your experience with rink and unit conversion?
What are some alternatives?
smtlib2 - SMTLib2 interface implementation for Haskell
cpc - Text calculator with support for units and conversion
polynomial - Haskell library for manipulating and evaluating polynomials
numbat - A statically typed programming language for scientific computations with first class support for physical dimensions and units
uncertain - Manipulating numbers with inherent measurement/experimental uncertainty.
bacon - Scientific Computing in Rust
monte-carlo - A Monte Carlo monad and transformer for Haskell.
fend - Arbitrary-precision unit-aware calculator
dimensional - Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+).
insect - High precision scientific calculator with support for physical units
matrix - A Haskell native implementation of matrices and their operations.
google-hashcode-score-2022 - google hashcode 2022 qualification round score calculator