units-defs 2.0 → 2.0.0.1
raw patch · 11 files changed
+33/−28 lines, 11 files
Files
- CHANGES.md +5/−0
- Data/Units/CGS.hs +1/−1
- Data/Units/US.hs +3/−3
- Data/Units/US/Apothecaries.hs +3/−3
- Data/Units/US/Avoirdupois.hs +3/−3
- Data/Units/US/DryVolume.hs +3/−3
- Data/Units/US/Liquid.hs +4/−4
- Data/Units/US/Misc.hs +3/−3
- Data/Units/US/Survey.hs +3/−3
- Data/Units/US/Troy.hs +3/−3
- units-defs.cabal +2/−2
CHANGES.md view
@@ -1,3 +1,8 @@+Version 2.0.0.1+---------------++* Typos in documentation. Thanks to Doug Burke for a pull request!+ Version 2.0 -----------
Data/Units/CGS.hs view
@@ -14,7 +14,7 @@ -- of measurement. -- -- Included are all mechanical units mentioned here:--- http://en.wikipedia.org/wiki/Centimetre%E2%80%93gram%E2%80%93second_system_of_units+-- <http://en.wikipedia.org/wiki/Centimetre%E2%80%93gram%E2%80%93second_system_of_units> -- -- Some electromagnetic units are not included, because these do not have -- reliable conversions to/from the SI units, on which the @units-defs@
Data/Units/US.hs view
@@ -17,13 +17,13 @@ -- want the foot-pound-second system, use the 'FPS'. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US (
Data/Units/US/Apothecaries.hs view
@@ -13,13 +13,13 @@ -- are rarely used. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Apothecaries (
Data/Units/US/Avoirdupois.hs view
@@ -13,13 +13,13 @@ -- system is the one most commonly used in the US. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Avoirdupois where
Data/Units/US/DryVolume.hs view
@@ -12,13 +12,13 @@ -- This module defines dry volume measures as used in the USA. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.DryVolume where
Data/Units/US/Liquid.hs view
@@ -14,13 +14,13 @@ -- in the USA and from liquid volumes in the UK. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Liquid where@@ -49,7 +49,7 @@ declareDerivedUnit "Barrel" [t| Hogshead |] (1/2) (Just "bbl") declareDerivedUnit "OilBarrel" [t| Gallon |] 42 (Just "bbl") --- | As shown on Wikipedia: http://en.wikipedia.org/wiki/United_States_customary_units+-- | As shown on Wikipedia: <http://en.wikipedia.org/wiki/United_States_customary_units> commonLiquidMeasures :: [Name] commonLiquidMeasures = [ ''Teaspoon, ''Tablespoon, ''FluidOunce, ''Cup, ''Pint , ''Quart, ''Gallon ]
Data/Units/US/Misc.hs view
@@ -13,13 +13,13 @@ -- other categories. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Misc (
Data/Units/US/Survey.hs view
@@ -14,13 +14,13 @@ -- foot. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Survey where
Data/Units/US/Troy.hs view
@@ -13,13 +13,13 @@ -- system is most often used when measuring precious metals. -- -- Included are all units mentioned here:--- http://en.wikipedia.org/wiki/United_States_customary_units+-- <http://en.wikipedia.org/wiki/United_States_customary_units> -- Where possible, conversion rates have been independently verified -- at a US government website. However, Wikipedia's base is /much/ -- better organized than any government resource immediately available. -- The US government references used are as follows:--- http://nist.gov/pml/wmd/metric/upload/SP1038.pdf--- http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf+-- <http://nist.gov/pml/wmd/metric/upload/SP1038.pdf>+-- <http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf> ----------------------------------------------------------------------------- module Data.Units.US.Troy (
units-defs.cabal view
@@ -1,5 +1,5 @@ name: units-defs-version: 2.0+version: 2.0.0.1 cabal-version: >= 1.10 synopsis: Definitions for use with the units package homepage: http://github.com/goldfirere/units-defs@@ -22,7 +22,7 @@ source-repository this type: git location: https://github.com/goldfirere/units-defs.git- tag: v2.0+ tag: v2.0.0.1 library build-depends: