Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sum :: (Unbox a, Num a) => Vector a -> ario RIO.Vector.Unboxed No documentation available.
sum :: Vector v Double => v Double -> Doublestatistics Statistics.Sample.Internal No documentation available.
-
statistics Statistics.Sample.Powers The sum of elements in the original Sample. This is the sample's first simple power.
sum :: (Summation s, Foldable f) => (s -> Double) -> f Double -> Doublemath-functions Numeric.Sum sum :: (Foldable t, Num a) => t a -> aCabal-syntax Distribution.Compat.Prelude No documentation available.
sum :: (C sh, Storable a, Num a) => Array sh a -> acomfort-array Data.Array.Comfort.Storable \(Array16 xs) -> Array.sum xs == sum (Array.toList xs)
sum :: (C sh, Storable a, Num a) => Array sh a -> acomfort-array Data.Array.Comfort.Storable.Unchecked \(Array16 xs) -> Array.sum xs == sum (Array.toList xs)
-
non-negative Numeric.NonNegative.Class No documentation available.
sum :: forall a f . (Foldable f, Num a) => f a -> arelude Relude.Foldable.Fold Stricter version of sum.
>>> sum [1..10] 55
sum :: (Monad m, Num a) => Stream (Of a) m r -> m (Of a r)streaming Streaming.Prelude Fold a Stream of numbers into their sum with the return value
mapped S.sum :: Stream (Stream (Of Int)) m r -> Stream (Of Int) m r
>>> S.sum $ each [1..10] 55 :> ()
>>> (n :> rest) <- S.sum $ S.splitAt 3 $ each [1..10] >>> System.IO.print n 6 >>> (m :> rest') <- S.sum $ S.splitAt 3 rest >>> System.IO.print m 15 >>> S.print rest' 7 8 9 10