MeetLattice
trait MeetLattice[a: Type] with PartialOrder[a]SourceTrait for types that form a meet semi-lattice.
A meet lattice is a pair of functions (⊑, ⊓) where ⊑ is a partial order and ⊓ satisfies two properties: lower-bound and greatest-lower-bound.
Instances
Signatures
def greatestLowerBound(x: a, y: a): a with MeetLattice[a]§ SourceReturns the greatest lower bound of x and y.