dimensional

Statically checked physical dimensions.

http://dimensional.googlecode.com/

Version on this page:0.13.0.2
LTS Haskell 22.14:1.5
Stackage Nightly 2024-03-28:1.5
Latest on Hackage:1.5

See all snapshots dimensional appears in

BSD-3-Clause licensed by Bjorn Buckwalter
Maintained by [email protected]
This version can be pinned in stack with:dimensional-0.13.0.2@sha256:b50f4f23807296af8a7ea43aa629bbbd428fe4c6b6a26ad76384dbb597926705,1792
Depends on 3 packages(full list with versions):

Dimensional is a library providing data types for performing arithmetic with physical quantities and units. Information about the physical dimensions of the quantities and units is embedded in their types and the validity of operations is verified by the type checker at compile time. The boxing and unboxing of numerical values as quantities is done by multiplication and division with units. The library is designed to, as far as is practical, enforce/encourage best practices of unit usage.

Changes

0.13.0.2 (2015-04)

  • Corrected definition of lumen.

0.13.0.1 (2014-09)

  • Bumped time dependency to < 1.6.

0.13 (2014-02)

  • Bump major version (should have been done in previous version).

0.12.3 (2014-02)

  • Bump numtype dependency to 1.1 (GHC 7.8.1 compatibility fix).
  • Added Torque.
  • Added D.. for the type synonym quantities (e.g., Angle).

0.12.2 (2013-11)

  • Added FirstMassMoment, MomentOfInertia, AngularMomentum.
  • Improved unit numerics.

0.12.1 (2013-07)

  • Typeable Dimensionals.

0.12 (2013-06)

  • Polymorphic _0 (closes issue 39).
  • Added astronomicalUnit.
  • Added imperial volume units.
  • Added ‘mil’ (=inch/1000).
  • Added tau.
  • Added KinematicViscosity.

0.10.1.2 (2011-09)

  • Bumped time dependency to < 1.5.

0.10.1.2 (2011-08)

  • Bumped time dependency to < 1.4.

0.10.1 (2011-08)

GHC 7.2.1 compatibility fix:

  • Increased CGS context-stack to 30.

0.10 (2011-05)

See the announcement.

0.9 (2011-04)

See the announcement.