HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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