units
Version 2.4.1.5 revision 1 uploaded by ryanglscott.
Package meta
- Synopsis
- A domain-specific type system for dimensional analysis
- Description
The units package provides a mechanism for compile-time dimensional analysis in Haskell programs. It defines an embedded type system based on units-of-measure. The units defined are fully extensible, and need not relate to physical properties. The package supports defining multiple inter-convertible units, such as Meter and Foot. When extracting a number from a dimensioned quantity, the desired unit must be specified, and the value is converted into that unit. If you are looking for specific systems of units (such as SI), please see the
units-defs
package. Tests for this package are in a companion packageunits-test
, available from this package's source repository. The Haddock documentation is insufficient for using the units package. Please see the README file, available from the package home page.- Author
- Richard Eisenberg <rae@richarde.dev>, Takayuki Muranushi <muranushi@gmail.com>
- Bug reports
- https://github.com/goldfirere/units/issues
- Category
- Math
- Copyright
- n/a
- Homepage
- https://github.com/goldfirere/units
- Maintainer
- Richard Eisenberg <rae@richarde.dev>
- Package URL
- n/a
- Stability
- experimental