Copyright | (C) 2014 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (eir@cis.upenn.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
This module defines units used in the centimetergramsecond system of measurement.
Included are all mechanical units mentioned here: http:/en.wikipedia.orgwiki/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
edifice is based.
- data Centi = Centi
- centi :: unit -> Centi :@ unit
- data Meter = Meter
- pattern Metre :: Meter
- data Gram = Gram
- data Second = Second
- type Centimeter = Centi :@ Meter
- pattern Centimeter :: (:@) Centi Meter
- type Centimetre = Centimeter
- pattern Centimetre :: (:@) Centi Meter
- data Gal = Gal
- data Dyne = Dyne
- data Erg = Erg
- data Barye = Barye
- data Poise = Poise
- data Stokes = Stokes
- data Kayser = Kayser
- data Maxwell = Maxwell
- data Gauss = Gauss
Documentation
type Centimeter = Centi :@ Meter Source
pattern Centimeter :: (:@) Centi Meter Source
type Centimetre = Centimeter Source
pattern Centimetre :: (:@) Centi Meter Source