units-defs-2.2: 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
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
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 #

type DimOfUnit Meter :: Type #

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 :: Metre Source #

data Gram Source #

Constructors

Gram 
Instances
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 #

type DimOfUnit Gram :: Type #

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
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 #

type DimOfUnit Second :: Type #

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
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 #

type DimOfUnit Gal :: Type #

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
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 #

type DimOfUnit Dyne :: Type #

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
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 #

type DimOfUnit Erg :: Type #

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
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 #

type DimOfUnit Barye :: Type #

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
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 #

type DimOfUnit Poise :: Type #

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
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 #

type DimOfUnit Stokes :: Type #

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
Unit Kayser Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Kayser :: Type #

type DimOfUnit Kayser :: Type #

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
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 #

type DimOfUnit Maxwell :: Type #

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
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 #

type DimOfUnit Gauss :: Type #

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