HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulereducers-3.12.5Haskell2010

Data.Semigroup.Union

  • 2 types
  • 4 classes
  • Packagereducers-3.12.5
  • Exports6
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUnion.hs

Unions of Containers

3 declarations
classclass HasUnion f where
#

A Container suitable for the Union Monoid

Methods

Instances7HasUnion, …
classclass HasUnion f => HasUnion0 f where
#

Methods

Instances7HasUnion0, …
newtypenewtype Union f
#

Constructors

Instances12Functor, Foldable, Traversable, Foldable1, Traversable1, Reducer, …

Unions of Containers of Semigroups

3 declarations
newtypenewtype UnionWith (f :: Type -> Type) m
#

The Monoid ('unionWith mappend',empty) for containers full of monoids.

Constructors

Instances3Reducer, Semigroup, Monoid