An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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.

Ecosystem
hackage.haskell.org
Latest Release
1.6.2
3 months ago
Versions
34
Downloads
28,506 total
Dependent Repos
158
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/dimensional
spec
License BSD-3-Clause
First Release over 18 years ago
Last Synced 4 days ago
Repository
Stars 112 on GitHub
Forks 18 on GitHub
Commits 513
Committers 12
Avg per Author 42.75
DDS 0.271
Rankings on hackage.haskell.org
Overall Top 9.2%
Downloads Top 5.4%
Dependent repos Top 3.1%
Forks Top 9.8%