Expand description
Defines the Lattice
trait and provides implementations for standard types
Modules§
Structs§
- A wrapper type that swaps (
<=
and>=
) forPartialOrd
s, (meet
andjoin
) forLattice
s, and (top
andbottom
) forBoundedLattice
s. - A wrapper for tuple types and arrays that implements
PartialOrd
using product-order semantics.
Traits§
- A
Lattice
is aPartialOrd
where each pair of elements has a least upper bound (join
) and a greatest lower bound (meet
)