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

ModuleAgda-2.7.0.1Haskell2010

Agda.Utils.POMonoid

Partially ordered monoids.

  • 3 classes
  • 1 value
  • PackageAgda-2.7.0.1
  • Exports4
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePOMonoid.hs
classclass (PartialOrd a, Semigroup a) => POSemigroup a
#

Partially ordered semigroup.

Law: composition must be monotone.

  related x POLE x' && related y POLE y' ==>
  related (x <> y) POLE (x' <> y')
Instances8POSemigroup, …
classclass (PartialOrd a, Semigroup a, Monoid a) => POMonoid a
#

Partially ordered monoid.

Law: composition must be monotone.

  related x POLE x' && related y POLE y' ==>
  related (x <> y) POLE (x' <> y')
Instances8POMonoid, …
classclass POMonoid a => LeftClosedPOMonoid a where
#

Completing POMonoids with inverses to form a Galois connection.

Law: composition and inverse composition form a Galois connection.

  related (inverseCompose p x) POLE y == related x POLE (p <> y)

Methods

Instances4LeftClosedPOMonoid