HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

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, …