Safe Haskell | None |
---|
Units derived from the SI unit for length, and higher dimensions of length (area, volume).
- data Mile
- data Inch
- data Yard
- data Foot
- data Ångström
- data NauticalMile
- type AreaUnit = UnitCons Length (Pos (Suc One)) UnitNil
- data Barn
- type VolumeUnit = UnitCons Length (Pos (Suc (Suc One))) UnitNil
- data Liter
- data Gallon
- data FluidOunce
- mile :: Fractional f => Value f LengthDimension Mile
- inch :: Fractional f => Value f LengthDimension Inch
- yard :: Fractional f => Value f LengthDimension Yard
- foot :: Fractional f => Value f LengthDimension Foot
- ångström :: Fractional f => Value f LengthDimension Ångström
- angstrom :: Fractional f => Value f LengthDimension Ångström
- nautical_mile :: Fractional f => Value f LengthDimension NauticalMile
- barn :: Fractional f => Value f AreaUnit Barn
- liter :: Fractional f => Value f VolumeUnit Liter
- gallon :: Fractional f => Value f VolumeUnit Gallon
- fluid_ounce :: Fractional f => Value f VolumeUnit FluidOunce
Documentation
Ångström, length unit for atoms and molecules (Å).
mile :: Fractional f => Value f LengthDimension MileSource
One mile (mile).
inch :: Fractional f => Value f LengthDimension InchSource
One inch (in).
yard :: Fractional f => Value f LengthDimension YardSource
One yard (yd).
foot :: Fractional f => Value f LengthDimension FootSource
One foot (ft).
ångström :: Fractional f => Value f LengthDimension ÅngströmSource
One ångström (Å).
angstrom :: Fractional f => Value f LengthDimension ÅngströmSource
One ångström, for those with bad UTF-8 support (Å).
nautical_mile :: Fractional f => Value f LengthDimension NauticalMileSource
One nautical mile (M).
liter :: Fractional f => Value f VolumeUnit LiterSource
One liter (L).
gallon :: Fractional f => Value f VolumeUnit GallonSource
One gallon (gallon).
fluid_ounce :: Fractional f => Value f VolumeUnit FluidOunceSource
One fluid ounce (fl oz).