units-defs-2.2.1: Definitions for use with the units package
Copyright(C) 2014 Richard Eisenberg
LicenseBSD-style (see LICENSE)
MaintainerRichard Eisenberg (rae@cs.brynmawr.edu)
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

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

Documentation

data Centi Source #

10^-2

Constructors

Centi 

Instances

Instances details
Show Centi Source # 
Instance details

Defined in Data.Units.SI.Prefixes

Methods

showsPrec :: Int -> Centi -> ShowS #

show :: Centi -> String #

showList :: [Centi] -> ShowS #

UnitPrefix Centi Source # 
Instance details

Defined in Data.Units.SI.Prefixes

Methods

multiplier :: Fractional f => Centi -> f #

centi :: unit -> Centi :@ unit Source #

data Meter Source #

Constructors

Meter 

Instances

Instances details
Show Meter Source # 
Instance details

Defined in Data.Units.SI

Methods

showsPrec :: Int -> Meter -> ShowS #

show :: Meter -> String #

showList :: [Meter] -> ShowS #

Unit Meter Source # 
Instance details

Defined in Data.Units.SI

Associated Types

type BaseUnit Meter #

type DimOfUnit Meter #

type UnitFactorsOf Meter :: [Factor Type] #

type UnitFactorsOf Meter Source # 
Instance details

Defined in Data.Units.SI

type DimOfUnit Meter Source # 
Instance details

Defined in Data.Units.SI

type BaseUnit Meter Source # 
Instance details

Defined in Data.Units.SI

pattern Metre :: Meter Source #

data Gram Source #

Constructors

Gram 

Instances

Instances details
Show Gram Source # 
Instance details

Defined in Data.Units.SI

Methods

showsPrec :: Int -> Gram -> ShowS #

show :: Gram -> String #

showList :: [Gram] -> ShowS #

Unit Gram Source # 
Instance details

Defined in Data.Units.SI

Associated Types

type BaseUnit Gram #

type DimOfUnit Gram #

type UnitFactorsOf Gram :: [Factor Type] #

type UnitFactorsOf Gram Source # 
Instance details

Defined in Data.Units.SI

type DimOfUnit Gram Source # 
Instance details

Defined in Data.Units.SI

type BaseUnit Gram Source # 
Instance details

Defined in Data.Units.SI

data Second Source #

Constructors

Second 

Instances

Instances details
Show Second Source # 
Instance details

Defined in Data.Units.SI

Unit Second Source # 
Instance details

Defined in Data.Units.SI

Associated Types

type BaseUnit Second #

type DimOfUnit Second #

type UnitFactorsOf Second :: [Factor Type] #

type UnitFactorsOf Second Source # 
Instance details

Defined in Data.Units.SI

type DimOfUnit Second Source # 
Instance details

Defined in Data.Units.SI

type BaseUnit Second Source # 
Instance details

Defined in Data.Units.SI

data Gal Source #

Constructors

Gal 

Instances

Instances details
Show Gal Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Gal -> ShowS #

show :: Gal -> String #

showList :: [Gal] -> ShowS #

Unit Gal Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Gal #

type DimOfUnit Gal #

type UnitFactorsOf Gal :: [Factor Type] #

type UnitFactorsOf Gal Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Gal Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Gal Source # 
Instance details

Defined in Data.Units.CGS

data Dyne Source #

Constructors

Dyne 

Instances

Instances details
Show Dyne Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Dyne -> ShowS #

show :: Dyne -> String #

showList :: [Dyne] -> ShowS #

Unit Dyne Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Dyne #

type DimOfUnit Dyne #

type UnitFactorsOf Dyne :: [Factor Type] #

type UnitFactorsOf Dyne Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Dyne Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Dyne Source # 
Instance details

Defined in Data.Units.CGS

data Erg Source #

Constructors

Erg 

Instances

Instances details
Show Erg Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Erg -> ShowS #

show :: Erg -> String #

showList :: [Erg] -> ShowS #

Unit Erg Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Erg #

type DimOfUnit Erg #

type UnitFactorsOf Erg :: [Factor Type] #

type UnitFactorsOf Erg Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Erg Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Erg Source # 
Instance details

Defined in Data.Units.CGS

data Barye Source #

Constructors

Barye 

Instances

Instances details
Show Barye Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Barye -> ShowS #

show :: Barye -> String #

showList :: [Barye] -> ShowS #

Unit Barye Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Barye #

type DimOfUnit Barye #

type UnitFactorsOf Barye :: [Factor Type] #

type UnitFactorsOf Barye Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Barye Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Barye Source # 
Instance details

Defined in Data.Units.CGS

data Poise Source #

Constructors

Poise 

Instances

Instances details
Show Poise Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Poise -> ShowS #

show :: Poise -> String #

showList :: [Poise] -> ShowS #

Unit Poise Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Poise #

type DimOfUnit Poise #

type UnitFactorsOf Poise :: [Factor Type] #

type UnitFactorsOf Poise Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Poise Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Poise Source # 
Instance details

Defined in Data.Units.CGS

data Stokes Source #

Constructors

Stokes 

Instances

Instances details
Show Stokes Source # 
Instance details

Defined in Data.Units.CGS

Unit Stokes Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Stokes #

type DimOfUnit Stokes #

type UnitFactorsOf Stokes :: [Factor Type] #

type UnitFactorsOf Stokes Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Stokes Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Stokes Source # 
Instance details

Defined in Data.Units.CGS

data Kayser Source #

Constructors

Kayser 

Instances

Instances details
Unit Kayser Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Kayser #

type DimOfUnit Kayser #

type UnitFactorsOf Kayser :: [Factor Type] #

type UnitFactorsOf Kayser Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Kayser Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Kayser Source # 
Instance details

Defined in Data.Units.CGS

data Maxwell Source #

Constructors

Maxwell 

Instances

Instances details
Show Maxwell Source # 
Instance details

Defined in Data.Units.CGS

Unit Maxwell Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Maxwell #

type DimOfUnit Maxwell #

type UnitFactorsOf Maxwell :: [Factor Type] #

type UnitFactorsOf Maxwell Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Maxwell Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Maxwell Source # 
Instance details

Defined in Data.Units.CGS

data Gauss Source #

Constructors

Gauss 

Instances

Instances details
Show Gauss Source # 
Instance details

Defined in Data.Units.CGS

Methods

showsPrec :: Int -> Gauss -> ShowS #

show :: Gauss -> String #

showList :: [Gauss] -> ShowS #

Unit Gauss Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Gauss #

type DimOfUnit Gauss #

type UnitFactorsOf Gauss :: [Factor Type] #

type UnitFactorsOf Gauss Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Gauss Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Gauss Source # 
Instance details

Defined in Data.Units.CGS