Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. Sum :: a -> Sum a

    base-compat Data.Semigroup.Compat

    No documentation available.

  2. module Data.Bifunctor.Sum

    No documentation available.

  3. data Sum (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (a :: k) (b :: k1)

    bifunctors Data.Bifunctor.Sum

    No documentation available.

  4. Sum :: ConTag -> Arity -> LocatedA b -> [EpaLocation] -> [EpaLocation] -> SumOrTuple b

    ghc GHC.Parser.PostProcess

    Last two are the locations of the '|' before and after the payload

  5. Sum :: ConTag -> Arity -> LocatedA b -> [EpaLocation] -> [EpaLocation] -> SumOrTuple b

    ghc GHC.Parser.Types

    Last two are the locations of the '|' before and after the payload

  6. module Data.Functor.Sum

    No documentation available.

  7. newtype Sum a

    generic-deriving Generics.Deriving.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}
    

  8. Sum :: a -> Sum a

    generic-deriving Generics.Deriving.Monoid

    No documentation available.

  9. module Data.Dependent.Sum

    No documentation available.

  10. module Numeric.Sum

    Functions for summing floating point numbers more accurately than the naive sum function and its counterparts in the vector package and elsewhere. When used with floating point numbers, in the worst case, the sum function accumulates numeric error at a rate proportional to the number of values being summed. The algorithms in this module implement different methods of /compensated summation/, which reduce the accumulation of numeric error so that it either grows much more slowly than the number of inputs (e.g. logarithmically), or remains constant.

Page 2 of many | Previous | Next