Module type Bounded_lattice.API

The complete interface of a Bounded_lattice.

include Bounded_join_semilattice.API
type t

The type hold by the Bounded_join_semilattice

Functions

include Join_semilattice.WITH_JOIN with type t := t

Infix operators

include Bounded_meet_semilattice.API with type t := t

Functions

include Meet_semilattice.WITH_MEET with type t := t

Infix operators

Functions

include Bounded_join_semilattice.WITH_JOIN_AND_BOTTOM with type t := t
include Bounded_join_semilattice.WITH_BOTTOM with type t := t
val bottom : t

The bottom value represent the least element of the join semilattice

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 Bounded_meet_semilattice.WITH_MEET_AND_TOP with type t := t
include Bounded_meet_semilattice.WITH_TOP with type t := t
val top : t

the top value represent the greatest element of the meet semilattice

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.