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 :: forall a (n :: Nat) . Num a => Tree n a -> aral Data.RAVec.Tree Non-strict sum.
sum :: forall a (n :: Nat) . (Num a, SNatI n) => Tree n a -> aral Data.RAVec.Tree.DF Non-strict sum.
sum :: (Monad m, Num a) => SerialT m a -> m astreamly Streamly.Internal.Data.Stream.IsStream Determine the sum of all elements of a stream of numbers. Returns 0 when the stream is empty. Note that this is not numerically stable for floating point numbers.
sum = Stream.fold Fold.sum
sum :: (Monad m, Num a) => SerialT m a -> m astreamly Streamly.Prelude Determine the sum of all elements of a stream of numbers. Returns 0 when the stream is empty. Note that this is not numerically stable for floating point numbers.
sum = Stream.fold Fold.sum
sum :: Num a => (Key -> TomlCodec a) -> Key -> TomlCodec (Sum a)tomland Toml.Codec.Combinator.Monoid Codec for Sum wrapper for given converter's values. Decodes to Sum 0 when the key is not present.
sum :: (Num a, Unboxable a) => Vector a -> aunboxing-vector Data.Vector.Unboxing No documentation available.
sum :: forall a (n :: Nat) . (Num a, SNatI n) => Vec n a -> avec Data.Vec.DataFamily.SpineStrict Non-strict sum.
sum :: forall a (n :: Nat) . Num a => Vec n a -> avec Data.Vec.Lazy Non-strict sum.
sum :: forall a (n :: Nat) . (Num a, SNatI n) => Vec n a -> avec Data.Vec.Lazy.Inline Non-strict sum.
sum :: forall a (n :: Nat) . (Num a, SNatI n) => Vec n a -> avec Data.Vec.Pull Strict sum.