Suitable new name for Dimensional library
Björn Buckwalter
bjorn.buckwalter at gmail.com
Thu Sep 27 22:40:24 EDT 2007
All,
For quite a while[1] now I've been wanting to change the name of my
Dimensional library[2]. The library blurb is:
"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."
There are two primary reasons I have been wanting to change the name.
Firstly I wanted to move the library from the arbitrary
'Buckwalter.Dimensional' namespace into the standard hierarchy. At
Don's suggestion (patch) the library has been moved to the
'Numeric.Dimensional' namespace and if no-one objects it will remain
under 'Numeric'.
Secondly, I feel that "Dimensional" is to vague and ambiguous, in
particular it could just as well refer to dimensions in the linear
algebra sense as physical dimensions. I'd like a more specific and
perhaps less pretentious name for the library. This is where I would
appreciate some feedback as to what would be appropriate. Some
suggestions are:
- Numeric.Units
- Numeric.PhysicalUnits
- Numeric.PhysicalDimensions
- Numeric.SI
- Numeric.SIUnits
- Numeric.Units.Static
(While the library isn't limited to SI units or even the SI dimensions
they are the main focus and default export.)
Personally I like 'Numeric.Units' (it emphasizes that units are the
key to interacting with the library) but I'd love to get a second,
third and fourth opinion!
Thanks,
Bjorn Buckwalter
[1] http://www.haskell.org/pipermail/haskell/2006-December/018993.html
[2] http://dimensional.googlecode.com
More information about the Libraries
mailing list