Module ascent::lattice

source ·
Expand description

Defines the Lattice trait and provides implementations for standard types

Modules§

Structs§

  • A wrapper type that swaps (<= and >=) for PartialOrds, (meet and join) for Lattices, and (top and bottom) for BoundedLattices.
  • A wrapper for tuple types and arrays that implements PartialOrd using product-order semantics.

Traits§

  • A Lattice is a PartialOrd where each pair of elements has a least upper bound (join) and a greatest lower bound (meet)