Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class (Infimum a, Supremum a) => Lattice a Source #
When providing a new instance, you should ensure it satisfies the one law: * Absorption: a \/ (a /\ b) ≡ a /\ (a \/ b) ≡ a
Instances
Lattice a => Lattice (Identity a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Identity | |
Lattice a => Lattice (Maybe a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Maybe | |
(Lattice s, Lattice a) => Lattice (s :*: a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Product | |
Lattice a => Lattice (Tagged tag a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Tagged | |
Lattice a => Lattice (Constant a b) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Constant |