An open API service providing repository metadata for many open source software ecosystems.

Package Usage: hackage: dimensional

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 wrapping and unwrapping 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. Version 1 of the dimensional package differs from earlier version in that the dimension tracking is implemented using Closed Type Families and Data Kinds rather than functional dependencies. This enables a number of features, including improved support for unit names and quantities with statically-unknown dimensions. Requires GHC 8.0 or later.
32 versions
Latest release: about 11 years ago
26,822 downloads total

View more package details: https://packages.ecosystem.code.gouv.fr/registries/hackage.haskell.org/packages/dimensional

Dependent Repos 1

bliss/libhkl
hkl library from F.Picca with Python wrapping

Last synced: 7 months ago - Pushed: 11 months ago