Module type Lattice.API

The complete interface of a Lattice.

include Join_semilattice.API
type t

The type held by the Join_semillatice.

Functions

Infix operators

include Meet_semilattice.API with type t := t

Functions

Infix operators

Functions

include Join_semilattice.WITH_JOIN with type t := t
val join : t -> t -> t

join x y is the least upper bound of {x,y}.

include Meet_semilattice.WITH_MEET with type t := t
val meet : t -> t -> t

meet x y is the greatest lower bound of {x, y}.

Infix operators

module Infix : INFIX with type t := t
val (||) : t -> t -> t

Infix version of join.

val (&&) : t -> t -> t

Infix version of meet.