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 instanceKnownVariant 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.