Copyright | (C) 2018 Mario Lang |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
The units of length as defined by the eurocard standard.
See https://en.wikipedia.org/wiki/Eurocard_(printed_circuit_board) or IEC 60297.
Synopsis
- data RackUnit = RackUnit
- data HorizontalPitch = HorizontalPitch
Lengths
Instances
Show RackUnit Source # | |
Unit RackUnit Source # | |
Defined in Data.Units.Eurocard conversionRatio :: RackUnit -> Rational # | |
type UnitFactorsOf RackUnit Source # | |
Defined in Data.Units.Eurocard type UnitFactorsOf RackUnit = If (IsCanonical RackUnit) '['F RackUnit One] (UnitFactorsOf (BaseUnit RackUnit)) | |
type DimOfUnit RackUnit Source # | |
type BaseUnit RackUnit Source # | |
Defined in Data.Units.Eurocard |
data HorizontalPitch Source #
Instances
Show HorizontalPitch Source # | |
Defined in Data.Units.Eurocard showsPrec :: Int -> HorizontalPitch -> ShowS # show :: HorizontalPitch -> String # showList :: [HorizontalPitch] -> ShowS # | |
Unit HorizontalPitch Source # | |
Defined in Data.Units.Eurocard type BaseUnit HorizontalPitch # type DimOfUnit HorizontalPitch # type UnitFactorsOf HorizontalPitch :: [Factor Type] # | |
type UnitFactorsOf HorizontalPitch Source # | |
Defined in Data.Units.Eurocard | |
type DimOfUnit HorizontalPitch Source # | |
Defined in Data.Units.Eurocard | |
type BaseUnit HorizontalPitch Source # | |
Defined in Data.Units.Eurocard |