[Haskell] ANNOUNCE: Dimensional 0.4 -- Statically checked physical
bjorn.buckwalter at gmail.com
Wed May 16 22:43:31 EDT 2007
I am pleased to announce version 0.4 of Dimensional (working name).
Dimensional is a library providing data types for performing
arithmetic with physical quantities and units. Information about the
physical dimensions of the quantities/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.
Since the previous formal announcement  (version 0.1) Dimensional
has gone through several structural and stylistic improvements but
usage remains fundamentally unchanged. Noteworthy changes are a vastly
solidified 'NumType' module, a complete(?) set of elementary functions
and a 'Prelude'-replacement for users' convenience. There is also an
experimental 'Extensible' module supporting user-defined dimensions.
Additional structural changes and additions (primarily of units) are
planned and the library will continue to have an unstable API until
the 1.0 release. However, apart from module reshuffling no changes are
anticipated that would break user code.
Additional information and code is available from the project web site .
More information about the Haskell