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.

  1. sumProbabilities :: DiscreteDistr d => d -> Int -> Int -> Double

    statistics Statistics.Distribution

    Sum probabilities in inclusive interval.

  2. sumF :: Foldable f => f Double -> Double

    statistics Statistics.Sample.Internal

    No documentation available.

  3. sumOf :: Num a => Getting (Endo (Endo a)) s a -> s -> a

    diagrams-lib Diagrams.Prelude

    Calculate the Sum of every number targeted by a Fold.

    >>> sumOf both (5,6)
    11
    
    >>> sumOf folded [1,2,3,4]
    10
    
    >>> sumOf (folded.both) [(1,2),(3,4)]
    10
    
    >>> import Data.Data.Lens
    
    >>> sumOf biplate [(1::Int,[]),(2,[(3::Int,4::Int)])] :: Int
    10
    
    sumsumOf folded
    
    This operation may be more strict than you would expect. If you want a lazier version use ala Sum . foldMapOf
    sumOf _1 :: Num a => (a, b) -> a
    sumOf (folded . _1) :: (Foldable f, Num a) => f (a, b) -> a
    
    sumOf :: Num a => Getter s a     -> s -> a
    sumOf :: Num a => Fold s a       -> s -> a
    sumOf :: Num a => Lens' s a      -> s -> a
    sumOf :: Num a => Iso' s a       -> s -> a
    sumOf :: Num a => Traversal' s a -> s -> a
    sumOf :: Num a => Prism' s a     -> s -> a
    

  4. sumPowerSeries :: Double -> Sequence Double -> Double

    math-functions Numeric.Series

    Calculate sum of series <math> Calculation is stopped when next value in series is less than ε·sum.

  5. sumSeries :: Sequence Double -> Double

    math-functions Numeric.Series

    Calculate sum of series <math> Summation is stopped when <math> where ε is machine precision (m_epsilon)

  6. sumVector :: (Vector v Double, Summation s) => (s -> Double) -> v Double -> Double

    math-functions Numeric.Sum

    O(n) Sum a vector of values.

  7. sumToCompose :: forall (f :: Type -> Type) r . Sum f f r -> Compose (Of Bool) f r

    streaming Streaming.Prelude

    No documentation available.

  8. sumToEither :: Sum (Of a) (Of b) r -> Of (Either a b) r

    streaming Streaming.Prelude

    No documentation available.

  9. sum_ :: (Monad m, Num a) => Stream (Of a) m () -> m a

    streaming Streaming.Prelude

    Fold a Stream of numbers into their sum

  10. summaryBuffer :: Buffer a -> String

    ghc-internal GHC.Internal.IO.Buffer

    No documentation available.

Page 44 of many | Previous | Next