Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. colorSum :: StateVar Capability

    OpenGL Graphics.Rendering.OpenGL.GL.ColorSum

    No documentation available.

  2. msum :: (Foldable t, MonadPlus m) => t (m a) -> m a

    ghc-internal GHC.Internal.Control.Monad

    The sum of a collection of actions using (<|>), generalizing concat. msum is just like asum, but specialised to MonadPlus.

    Examples

    Basic usage, using the MonadPlus instance for Maybe:
    >>> msum [Just "Hello", Nothing, Just "World"]
    Just "Hello"
    

  3. asum :: (Foldable t, Alternative f) => t (f a) -> f a

    ghc-internal GHC.Internal.Data.Foldable

    The sum of a collection of actions using (<|>), generalizing concat. asum is just like msum, but generalised to Alternative.

    Examples

    Basic usage:
    >>> asum [Just "Hello", Nothing, Just "World"]
    Just "Hello"
    

  4. msum :: (Foldable t, MonadPlus m) => t (m a) -> m a

    ghc-internal GHC.Internal.Data.Foldable

    The sum of a collection of actions using (<|>), generalizing concat. msum is just like asum, but specialised to MonadPlus.

    Examples

    Basic usage, using the MonadPlus instance for Maybe:
    >>> msum [Just "Hello", Nothing, Just "World"]
    Just "Hello"
    

  5. getSum :: Sum a -> a

    ghc-internal GHC.Internal.Data.Monoid

    No documentation available.

  6. getSum :: Sum a -> a

    ghc-internal GHC.Internal.Data.Semigroup.Internal

    No documentation available.

  7. CostCentresSummary :: DoCostCentres

    ghc-internal GHC.Internal.RTS.Flags

    No documentation available.

  8. defaultPowerSumArray :: (Index ix, Source r e, Num e) => Array r ix e -> Int -> e

    massiv Data.Massiv.Core.Operations

    No documentation available.

  9. powerSumArray :: (FoldNumeric r e, Index ix) => Array r ix e -> Int -> e

    massiv Data.Massiv.Core.Operations

    Raise each element in the array to some non-negative power and sum the results

  10. ssum :: forall r ix e . (Num e, Stream r ix e) => Array r ix e -> e

    massiv Data.Massiv.Vector

    Add all elements of the array together Related: sum.

    Examples

    >>> import Data.Massiv.Vector as V
    
    >>> V.ssum $ V.sfromList [10, 3, 70, 5 :: Int]
    88
    

Page 125 of many | Previous | Next