This module defines data types and functions to handle physical units.
A generic physical unit. The
Monoid instance implements
multiplication of units.
DerivedUnit is a product of
BaseUnits, raised to arbitrary powers.
Each factor also has a
Prefix value which represents a numerical
prefix as a power of ten.
Split up a physical units into several parts that belong to the same physical dimension (length, time, ...). In the first component, the returned tuples contain a 'target' unit, to which this group can be converted. In the second component, the original group is returned.