Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. data GetSumSym0 (a1 :: TyFun Sum a a)

    singletons-base Data.Semigroup.Singletons

    No documentation available.

  2. type family GetSumSym1 (a6989586621679696628 :: Sum a) :: a

    singletons-base Data.Semigroup.Singletons

    No documentation available.

  3. data SSum (a1 :: Sum a)

    singletons-base Data.Semigroup.Singletons

    No documentation available.

  4. SSum :: forall a (n :: a) . Sing n -> SSum ('Sum n)

    singletons-base Data.Semigroup.Singletons

    No documentation available.

  5. sGetSum :: forall a (t :: Sum a) . Sing t -> Sing (Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) t)

    singletons-base Data.Semigroup.Singletons

    No documentation available.

  6. sSum :: forall a (t1 :: t a) . (SFoldable t, SNum a) => Sing t1 -> Sing (Apply (SumSym0 :: TyFun (t a) a -> Type) t1)

    singletons-base Data.Singletons.Base.TH

    No documentation available.

  7. sSum :: forall a (t1 :: t a) . (SFoldable t, SNum a) => Sing t1 -> Sing (Apply (SumSym0 :: TyFun (t a) a -> Type) t1)

    singletons-base Prelude.Singletons

    No documentation available.

  8. consumeBuffer :: Buffer % 1 -> ()

    text-builder-linear Data.Text.Builder.Linear.Buffer

    Consume buffer linearly, similar to Consumable from linear-base.

  9. consumeBuffer :: Buffer % 1 -> ()

    text-builder-linear Data.Text.Builder.Linear.Core

    Consume buffer linearly, similar to Consumable from linear-base.

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

    base-compat-batteries Control.Monad.Compat

    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"
    

Page 120 of many | Previous | Next