Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type family
Sum (arg :: t a) :: asingletons-base Data.List.Singletons No documentation available.
-
Magic sum operations using Generics These classes need not be instantiated manually, as GHC can automatically prove valid instances via Generics. Only the Generic class needs to be derived (see examples).
module TextShow.Data.Functor.
Sum -
ghc-internal GHC.Internal.Data.Monoid Monoid under addition.
Sum a <> Sum b = Sum (a + b)
Examples
>>> Sum 1 <> Sum 2 <> mempty Sum {getSum = 3}
>>> mconcat [ Sum n | n <- [3 .. 9]] Sum {getSum = 42}
-
ghc-internal GHC.Internal.Data.Monoid No documentation available.
-
ghc-internal GHC.Internal.Data.Semigroup.Internal Monoid under addition.
Sum a <> Sum b = Sum (a + b)
Examples
>>> Sum 1 <> Sum 2 <> mempty Sum {getSum = 3}
>>> mconcat [ Sum n | n <- [3 .. 9]] Sum {getSum = 42}
-
ghc-internal GHC.Internal.Data.Semigroup.Internal No documentation available.
module Algebra.NormedSpace.
Sum Abstraction of normed vector spaces
-
numhask NumHask.Algebra.Additive A wrapper for an Additive which distinguishes the additive structure
-
numhask NumHask.Algebra.Additive No documentation available.