Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. stimesMonoid :: (Integral b, Monoid a) => b -> a -> a

    base Data.Semigroup

    This is a valid definition of stimes for a Monoid. Unlike the default definition of stimes, it is defined for 0 and so it should be preferred where possible.

  2. unwrapMonoid :: WrappedMonoid m -> m

    base Data.Semigroup

    No documentation available.

  3. class GSemigroup f => GMonoid (f :: Type -> Type)

    semigroups Data.Semigroup.Generic

    No documentation available.

  4. newtype GenericSemigroupMonoid a

    semigroups Data.Semigroup.Generic

    An adapter newtype, suitable for DerivingVia. Its Semigroup and Monoid instances leverage the Generic-based defaults defined by gmappend and gmempty. Here is an example of how to use it:

    {-# LANGUAGE DerivingVia #-}
    import Data.Semigroup.Generic
    
    data Pair a = MkPair a a
    deriving (Semigroup, Monoid) via (GenericSemigroupMonoid (Pair a))
    

  5. GenericSemigroupMonoid :: a -> GenericSemigroupMonoid a

    semigroups Data.Semigroup.Generic

    No documentation available.

  6. getGenericSemigroupMonoid :: GenericSemigroupMonoid a -> a

    semigroups Data.Semigroup.Generic

    No documentation available.

  7. data ReifiedMonoid a

    lens Control.Lens.Internal.Fold

    No documentation available.

  8. ReifiedMonoid :: (a -> a -> a) -> a -> ReifiedMonoid a

    lens Control.Lens.Internal.Fold

    No documentation available.

  9. WrapMonoid :: m -> WrappedMonoid m

    base-compat Data.Semigroup.Compat

    No documentation available.

  10. newtype WrappedMonoid m

    base-compat Data.Semigroup.Compat

    Provide a Semigroup for an arbitrary Monoid. NOTE: This is not needed anymore since Semigroup became a superclass of Monoid in base-4.11 and this newtype be deprecated at some point in the future.

Page 18 of many | Previous | Next