The quantities package

[ Tags: bsd3, data, library, math, physics, program ] [ Propose Tags ]

A library for creating and manipulating physical quantities, which are a numerical value associated with a unit of measurement. Included is an expression parser and a huge list of predefined quantities with which to parse strings into a Quantity datatype. Once created, a quantity can be converted to different units or queried for its dimensionality. A user can also operate on quantities arithmetically, and doing so uses automatic unit conversion and simplification.


Versions 0.1.0, 0.2.0, 0.3.0, 0.4.0
Change log
Dependencies base (==4.*), containers, mtl, parsec, quantities [details]
License BSD3
Copyright Copyright (c) 2014-2015 John David Reaver
Author John David Reaver <>
Maintainer John David Reaver <>
Category Data, Math, Physics
Home page
Source repository head: git clone
Uploaded Sat Nov 7 15:37:25 UTC 2015 by jdreaver
Distributions NixOS:0.4.0
Executables quantities
Downloads 887 total (72 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-04 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees