Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. module Data.DoMonoid

    Construct monoids with do notation. For more information see https://github.com/tserduke/do-list#readme.

  2. type DoMonoid m = DoMonoidM m ()

    do-list Data.DoMonoid

    The type shortcut.

  3. newtype DoMonoidM m r

    do-list Data.DoMonoid

    DoMonoidM is not a real instance of Monad, Applicative or Functor. It pretends being them with a phantom result type.

  4. elimWrappedMonoid :: forall m (p :: WrappedMonoid m ~> Type) (s :: WrappedMonoid m) . Sing s -> (forall (f0 :: m) . () => Sing f0 -> Apply p ('WrapMonoid f0)) -> Apply p s

    eliminators Data.Eliminator

    No documentation available.

  5. elimWrappedMonoid :: forall m (p :: WrappedMonoid m ~> Type) (s :: WrappedMonoid m) . Sing s -> (forall (f0 :: m) . () => Sing f0 -> Apply p ('WrapMonoid f0)) -> Apply p s

    eliminators Data.Eliminator.Semigroup

    No documentation available.

  6. forMonoid :: Monoid i => Args i i

    fold-debounce-conduit Data.Conduit.FoldDebounce

    Args for monoids. Input events are appended to the tail.

  7. package generic-monoid

    Derive monoid instances for product types. Using GHC's generics, allow for deriving Monoid and Semigroup instances for your product types.

  8. newtype GenericMonoid a

    generic-monoid Data.Monoid.Generic

    A newtype which allows you to using the DerivingVia extension to reduce boilerplate.

    data X = X [Int] String
    deriving (Generic, Show)
    deriving Semigroup via GenericSemigroup X
    deriving Monoid    via GenericMonoid X
    
    Note: Do NOT attempt to derive Semigroup via GenericMonoid. That will lead to infinite recursion.

  9. GenericMonoid :: a -> GenericMonoid a

    generic-monoid Data.Monoid.Generic

    No documentation available.

  10. runChooseMonoid :: forall ans (es :: [Effect]) a . (Semigroup ans, FOEs es) => (a -> Eff es ans) -> Eff (Choose ': es) a -> Eff es ans

    heftia-effects Control.Monad.Hefty.NonDet

    Choose effect handler for monoidal answer type.

Page 34 of many | Previous | Next