Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class Infimum a where
- (/\) :: a -> a -> a
- class Supremum a where
- (\/) :: a -> a -> a
- type family Semilattice constraint where ...
Documentation
class Infimum a where Source #
When providing a new instance, you should ensure it satisfies: * Associativity: x /\ (y /\ z) ≡ (x /\ y) /\ z * Commutativity: x /\ y ≡ y /\ x * Idempotency: x /\ x ≡ x
class Supremum a where Source #
When providing a new instance, you should ensure it satisfies: * Associativity: x \/ (y \/ z) ≡ (x \/ y) \/ z * Commutativity: x \/ y ≡ y \/ x * Idempotency: x \/ x ≡ x
type family Semilattice constraint where ... Source #
Semilattice Infimum = () | |
Semilattice Supremum = () |