HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduledimensional-1.5Haskell2010

Numeric.Units.Dimensional.Functor

Provides a Functor instance for Dimensional.

Note that this instance is dubious, because it allows you to break the dimensional abstraction. See dmap for more information.

Note that, while this instance overlaps with that given for Dimensionless, it is confluent with that instance.

Note that this is an orphan instance.

    • Packagedimensional-1.5
    • Exports0
    • LanguageHaskell2010
    • LicenceBSD-3-Clause
    • SourceFunctor.hs

    Orphan instances

    1 instance
    • KnownVariant v => Functor (Dimensional v d)

      A Functor instance for Dimensional.

      Note that this instance is dubious, because it allows you to break the dimensional abstraction. See dmap for more information.

      Note that, while this instance overlaps with that given for Dimensionless, it is confluent with that instance.

      Note that this is an orphan instance.