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.
sum :: Num a => NonEmptyVector a -> anonempty-vector Data.Vector.NonEmpty O(n) Compute the sum of the elements
-
LambdaHack Game.LambdaHack.Core.Prelude No documentation available.
sum :: (Foldable t, Functor t, Backprop (t a), Num a, Reifies s W) => BVar s (t a) -> BVar s abackprop Prelude.Backprop sum :: (Foldable t, Functor t, Num a, Reifies s W) => AddFunc (t a) -> BVar s (t a) -> BVar s abackprop Prelude.Backprop.Explicit sum :: (Foldable t, Functor t, Num (t a), Num a, Reifies s W) => BVar s (t a) -> BVar s abackprop Prelude.Backprop.Num sum, but with Num constraints instead of Backprop constraints.
sum :: (Foldable t, Num a) => t a -> acabal-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 *
sum :: PrimMonad m => ReqSketch (PrimState m) -> m Doubledata-sketches DataSketches.Quantiles.RelativeErrorQuantile No documentation available.
-
hmatrix-gsl-stats Numeric.GSL.Histogram the sum of the values, accuracy limited by bin width
-
hmatrix-gsl-stats Numeric.GSL.Histogram2D the sum of the values, accuracy limited by bin width
sum :: (Foldable t, Num a) => t a -> aihaskell 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 *