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. sumOf :: Num a => Getting (Endo (Endo a)) s a -> s -> a

    lens Control.Lens.Fold

    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
    

  2. sumC :: forall (m :: Type -> Type) a o . (Monad m, Num a) => ConduitT a o m a

    conduit Conduit

    Get the sum of all values in the stream.

  3. sumCE :: forall (m :: Type -> Type) mono o . (Monad m, MonoFoldable mono, Num (Element mono)) => ConduitT mono o m (Element mono)

    conduit Conduit

    Get the sum of all elements in the chunked stream.

  4. sumE :: forall (m :: Type -> Type) mono o . (Monad m, MonoFoldable mono, Num (Element mono)) => ConduitT mono o m (Element mono)

    conduit Data.Conduit.Combinators

    Get the sum of all elements in the chunked stream. Subject to fusion

  5. summaryFailed :: Summary -> !PropertyCount

    hedgehog Hedgehog.Internal.Report

    No documentation available.

  6. summaryGaveUp :: Summary -> !PropertyCount

    hedgehog Hedgehog.Internal.Report

    No documentation available.

  7. summaryOK :: Summary -> !PropertyCount

    hedgehog Hedgehog.Internal.Report

    No documentation available.

  8. summaryRunning :: Summary -> !PropertyCount

    hedgehog Hedgehog.Internal.Report

    No documentation available.

  9. summaryWaiting :: Summary -> !PropertyCount

    hedgehog Hedgehog.Internal.Report

    No documentation available.

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

    extra Data.Foldable.Extra

    A generalization of sum' to Foldable instances.

Page 39 of many | Previous | Next