MeetLattice
trait MeetLattice[a: Type] with PartialOrder[a]
SourceA trait for meet semi lattices. A Meet Lattice is pair of functions (⊑, ⊓) where ⊑ is a partial order and ⊓ satisfy two properties: lower-bound and greatest-lower-bound.
Instances
instance MeetLattice[Down[a]] with JoinLattice[a]
Sourceinstance MeetLattice[Map[k, v]] with Order[k], Eq[v], MeetLattice[v]
Sourceinstance MeetLattice[Int8]
Sourceinstance MeetLattice[Int16]
Sourceinstance MeetLattice[Int32]
Sourceinstance MeetLattice[Int64]
Sourceinstance MeetLattice[BigInt]
Sourceinstance MeetLattice[(a1, a2)] with MeetLattice[a1], MeetLattice[a2]
Sourceinstance MeetLattice[(a1, a2, a3)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3]
Sourceinstance MeetLattice[(a1, a2, a3, a4)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5, a6)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5], MeetLattice[a6]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5, a6, a7)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5], MeetLattice[a6], MeetLattice[a7]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5, a6, a7, a8)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5], MeetLattice[a6], MeetLattice[a7], MeetLattice[a8]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5, a6, a7, a8, a9)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5], MeetLattice[a6], MeetLattice[a7], MeetLattice[a8], MeetLattice[a9]
Sourceinstance MeetLattice[(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)] with MeetLattice[a1], MeetLattice[a2], MeetLattice[a3], MeetLattice[a4], MeetLattice[a5], MeetLattice[a6], MeetLattice[a7], MeetLattice[a8], MeetLattice[a9], MeetLattice[a10]
Sourceinstance MeetLattice[Option[t]] with MeetLattice[t]
Sourceinstance MeetLattice[Set[a]] with Order[a]
SourceSignatures
def greatestLowerBound(x: a, y: a): a with MeetLattice[a]
SourceReturns the greatest lower bound of x
and y
.