HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulebasement-0.0.16Haskell2010

Basement.Numerical.Additive

  • 1 class
  • Packagebasement-0.0.16
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceAdditive.hs
classclass Additive a where
#

Represent class of things that can be added together, contains a neutral element and is commutative.

x + azero = x
azero + x = x
x + y = y + x

Methods

Instances48Additive, …