Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. sum :: Num a => NonEmptyVector a -> a

    nonempty-vector Data.Vector.NonEmpty

    O(n) Compute the sum of the elements

  2. sum :: Num a => [a] -> a

    LambdaHack Game.LambdaHack.Core.Prelude

    No documentation available.

  3. sum :: (Foldable t, Functor t, Backprop (t a), Num a, Reifies s W) => BVar s (t a) -> BVar s a

    backprop Prelude.Backprop

    Lifted sum. More efficient than going through toList.

  4. sum :: (Foldable t, Functor t, Num a, Reifies s W) => AddFunc (t a) -> BVar s (t a) -> BVar s a

    backprop Prelude.Backprop.Explicit

    sum, but taking explicit add and zero.

  5. sum :: (Foldable t, Functor t, Num (t a), Num a, Reifies s W) => BVar s (t a) -> BVar s a

    backprop Prelude.Backprop.Num

    sum, but with Num constraints instead of Backprop constraints.

  6. sum :: (Foldable t, Num a) => t a -> a

    cabal-install-solver Distribution.Solver.Compat.Prelude

    The sum function computes the sum of the numbers of a structure.

    Examples

    Basic usage:
    >>> sum []
    0
    
    >>> sum [42]
    42
    
    >>> sum [1..10]
    55
    
    >>> sum [4.1, 2.0, 1.7]
    7.8
    
    >>> sum [1..]
    * Hangs forever *
    

  7. sum :: PrimMonad m => ReqSketch (PrimState m) -> m Double

    data-sketches DataSketches.Quantiles.RelativeErrorQuantile

    No documentation available.

  8. sum :: Histogram -> Double

    hmatrix-gsl-stats Numeric.GSL.Histogram

    the sum of the values, accuracy limited by bin width

  9. sum :: Histogram2D -> Double

    hmatrix-gsl-stats Numeric.GSL.Histogram2D

    the sum of the values, accuracy limited by bin width

  10. sum :: (Foldable t, Num a) => t a -> a

    ihaskell IHaskellPrelude

    The sum function computes the sum of the numbers of a structure.

    Examples

    Basic usage:
    >>> sum []
    0
    
    >>> sum [42]
    42
    
    >>> sum [1..10]
    55
    
    >>> sum [4.1, 2.0, 1.7]
    7.8
    
    >>> sum [1..]
    * Hangs forever *
    

Page 15 of many | Previous | Next