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 |
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 :: Metre
- 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
Instances
Show Meter Source # | |
Unit Meter Source # | |
type UnitFactorsOf Meter Source # | |
Defined in Data.Units.SI type UnitFactorsOf Meter = If (IsCanonical Meter) (F Meter One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Meter)) | |
type DimOfUnit Meter Source # | |
Defined in Data.Units.SI | |
type BaseUnit Meter Source # | |
Defined in Data.Units.SI |
Instances
Show Gram Source # | |
Unit Gram Source # | |
type UnitFactorsOf Gram Source # | |
Defined in Data.Units.SI type UnitFactorsOf Gram = If (IsCanonical Gram) (F Gram One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Gram)) | |
type DimOfUnit Gram Source # | |
Defined in Data.Units.SI | |
type BaseUnit Gram Source # | |
Defined in Data.Units.SI |
Instances
Show Second Source # | |
Unit Second Source # | |
type UnitFactorsOf Second Source # | |
Defined in Data.Units.SI type UnitFactorsOf Second = If (IsCanonical Second) (F Second One ': ([] :: [Factor Type])) (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 #
Instances
Show Dyne Source # | |
Unit Dyne Source # | |
type UnitFactorsOf Dyne Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Dyne = If (IsCanonical Dyne) (F Dyne One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Dyne)) | |
type DimOfUnit Dyne Source # | |
type BaseUnit Dyne Source # | |
Defined in Data.Units.CGS |
Instances
Show Barye Source # | |
Unit Barye Source # | |
type UnitFactorsOf Barye Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Barye = If (IsCanonical Barye) (F Barye One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Barye)) | |
type DimOfUnit Barye Source # | |
type BaseUnit Barye Source # | |
Defined in Data.Units.CGS |
Instances
Show Poise Source # | |
Unit Poise Source # | |
type UnitFactorsOf Poise Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Poise = If (IsCanonical Poise) (F Poise One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Poise)) | |
type DimOfUnit Poise Source # | |
type BaseUnit Poise Source # | |
Defined in Data.Units.CGS |
Instances
Show Stokes Source # | |
Unit Stokes Source # | |
type UnitFactorsOf Stokes Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Stokes = If (IsCanonical Stokes) (F Stokes One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Stokes)) | |
type DimOfUnit Stokes Source # | |
type BaseUnit Stokes Source # | |
Defined in Data.Units.CGS |
Instances
Unit Kayser Source # | |
type UnitFactorsOf Kayser Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Kayser = If (IsCanonical Kayser) (F Kayser One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Kayser)) | |
type DimOfUnit Kayser Source # | |
type BaseUnit Kayser Source # | |
Defined in Data.Units.CGS |
Instances
Show Maxwell Source # | |
Unit Maxwell Source # | |
type UnitFactorsOf Maxwell Source # | |
Defined in Data.Units.CGS type UnitFactorsOf Maxwell = If (IsCanonical Maxwell) (F Maxwell One ': ([] :: [Factor Type])) (UnitFactorsOf (BaseUnit Maxwell)) | |
type DimOfUnit Maxwell Source # | |
type BaseUnit Maxwell Source # | |