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

Modulesemirings-0.7Haskell98

Data.Semiring.Directed

A "directed semiring" refers to the semiring composed of the union of upwards directed sets as multiplication, and intersection of downwards directed sets as addition.

  • 1 type
  • Packagesemirings-0.7
  • Exports1
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceDirected.hs

Directed semirings

1 declaration
newtypenewtype Directed
#

Wrapper for the semiring of upwards and downwards directed sets.

For the individual join/meet monoids associated with either algebra, see Max Ordering, and Min Ordering@.

Instances9Bounded, Enum, Eq, Data, Read, Show, …