| Copyright | (C) 2014 Richard Eisenberg |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Units.CGS
Description
This module defines units used in the centimeter/gram/second system of measurement.
Included are all mechanical units mentioned here: 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
edifice is based.
Synopsis
- data Centi = Centi
- centi :: unit -> Centi :@ unit
- data Meter = Meter
- pattern Metre :: Meter
- data Gram = Gram
- data Second = Second
- type Centimetre = Centimeter
- type Centimeter = Centi :@ Meter
- pattern Centimetre :: Centimetre
- pattern Centimeter :: Centimeter
- 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
10^-2
Constructors
| Centi |
Constructors
| Meter |
Instances
| Show Meter Source # | |
| Unit Meter Source # | |
Defined in Data.Units.SI Associated Types type UnitFactorsOf Meter :: [Factor Type] # | |
| type UnitFactorsOf Meter Source # | |
Defined in Data.Units.SI | |
| type DimOfUnit Meter Source # | |
Defined in Data.Units.SI | |
| type BaseUnit Meter Source # | |
Defined in Data.Units.SI | |
Constructors
| Gram |
Instances
| Show Gram Source # | |
| Unit Gram Source # | |
Defined in Data.Units.SI | |
| type UnitFactorsOf Gram Source # | |
Defined in Data.Units.SI | |
| type DimOfUnit Gram Source # | |
Defined in Data.Units.SI | |
| type BaseUnit Gram Source # | |
Defined in Data.Units.SI | |
Constructors
| Second |
Instances
| Show Second Source # | |
| Unit Second Source # | |
Defined in Data.Units.SI Associated Types type UnitFactorsOf Second :: [Factor Type] # | |
| type UnitFactorsOf Second Source # | |
Defined in Data.Units.SI type UnitFactorsOf Second = If (IsCanonical Second) '['F Second One] (UnitFactorsOf (BaseUnit Second)) | |
| type DimOfUnit Second Source # | |
Defined in Data.Units.SI | |
| type BaseUnit Second Source # | |
Defined in Data.Units.SI | |
type Centimetre = Centimeter Source #
pattern Centimetre :: Centimetre Source #
pattern Centimeter :: Centimeter Source #
Constructors
| Gal |
Constructors
| Dyne |
Constructors
| Erg |
Constructors
| Barye |
Constructors
| Poise |
Constructors
| Stokes |
Instances
| Show Stokes Source # | |
| Unit Stokes Source # | |
Defined in Data.Units.CGS Associated Types type UnitFactorsOf Stokes :: [Factor Type] # | |
| type UnitFactorsOf Stokes Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Stokes = If (IsCanonical Stokes) '['F Stokes One] (UnitFactorsOf (BaseUnit Stokes)) | |
| type DimOfUnit Stokes Source # | |
| type BaseUnit Stokes Source # | |
Defined in Data.Units.CGS | |
Constructors
| Kayser |
Instances
| Unit Kayser Source # | |
Defined in Data.Units.CGS Associated Types type UnitFactorsOf Kayser :: [Factor Type] # | |
| type UnitFactorsOf Kayser Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Kayser = If (IsCanonical Kayser) '['F Kayser One] (UnitFactorsOf (BaseUnit Kayser)) | |
| type DimOfUnit Kayser Source # | |
| type BaseUnit Kayser Source # | |
Defined in Data.Units.CGS | |
Constructors
| Maxwell |
Instances
| Show Maxwell Source # | |
| Unit Maxwell Source # | |
Defined in Data.Units.CGS Associated Types type UnitFactorsOf Maxwell :: [Factor Type] # | |
| type UnitFactorsOf Maxwell Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Maxwell = If (IsCanonical Maxwell) '['F Maxwell One] (UnitFactorsOf (BaseUnit Maxwell)) | |
| type DimOfUnit Maxwell Source # | |
| type BaseUnit Maxwell Source # | |