HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduledimensional-1.6.2Haskell2010

Numeric.Units.Dimensional.Variants

Provides a type level representation of Variants of dimensional values, which may be quantities or units.

  • MonoLocalBinds
  • TypeFamilies
  • ConstraintKinds
  • DataKinds
  • DeriveDataTypeable
  • DeriveGeneric
  • KindSignatures
  • TypeOperators
  • ExplicitNamespaces
Synopsis
  • Packagedimensional-1.6.2
  • Exports6
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceVariants.hs
datadata Variant

The kind of variants of dimensional values.

Constructors

Instances2Generic, Rep
datadata Metricality

Encodes whether a unit is a metric unit, that is, whether it can be combined with a metric prefix to form a related unit.

Constructors

  • Metric

    Capable of receiving a metric prefix.

  • NonMetric

    Incapable of receiving a metric prefix.

Instances6Eq, Data, Ord, Generic, NFData, Rep