Closed goldfirere closed 10 years ago
I will say that there's a part of me that thinks imperial units should be released separately from the units package. Few people will use it, I think.
So, I am currently working on a project that will definitely be using both SI and Imperial units, and I would naturally prefer to have Imperial included in the package. Just my two cents, really like what you've done here
AFAIK the single point of truth for Imperial units is the Weights of Measures Act of 1824 and its subsequent amendments. Grams are convertible to Slugs, and Pounds are convertible to Newtons [(kg*m)/s^2].
Hi, I'm glad that there're interested users to units
library!
How inclusive should we be? Are these standardized anywhere?
I guess the original idea was that units
library support only
Nondimensional unit by default
https://github.com/goldfirere/units/blob/master/README.md
and separate any concrete units to another library, say units-extras
or units-units
.
Or, we can keep the SI unit in units
given their standardness, and
put other units as well as extra dimensions (say, angles, bits,
manpower etc... ) to the extra.
Does anyone have any idea about the name and the separation line for the new library? See also #4
How to differentiate between US measures and UK measures, where they differ?
I wasn't aware of 1824 Act. Thank you Travis! I have been referring the wikipedia articles:
http://en.wikipedia.org/wiki/Imperial_units http://en.wikipedia.org/wiki/United_States_customary_units
I'm thinking of creating Data.Dimensions.Imperial.* and Data.Dimensions.US.*
How to convert between grams and pounds? They don't measure the same thing!
I'm thinking of introducing two distinguished units.
http://en.wikipedia.org/wiki/Pound-mass http://en.wikipedia.org/wiki/Pound-force
I think it would make the most sense to include Data.Dimensions.SI in the standardunits
library. If US or UK are desired units-extra
should have UK and US. The reasoning being that all of these units should be convertible, and having the SI types as the universal go between would be a decent choice.
That's basically my thought, too -- having a universal lingua franca will help build more libraries out from this.
After some debate, Takayuki and I agreed to move all systems definitions out of the core package, and into a separate package units-defs. Closing this ticket here and opening one there...
Roger that!
2014-04-16 12:19 GMT+09:00 Richard Eisenberg notifications@github.com:
After some debate, Takayuki and I agreed to move all systems definitions out of the core package, and into a separate package units-defs. Closing this ticket here and opening one there...
— Reply to this email directly or view it on GitHubhttps://github.com/goldfirere/units/issues/3#issuecomment-40559143 .
There is some work to do to make imperial units releasable: