Module Lattice_bounds.TopBottom

type 'a t = 'a or_top_bottom
module Operators : sig ... end

Operators

val hash : ( 'a -> int ) -> 'a t -> int

Datatype

val equal : ( 'a -> 'a -> bool ) -> 'a t -> 'a t -> bool
val compare : ( 'a -> 'a -> int ) -> 'a t -> 'a t -> int
val pretty : ( Stdlib.Format.formatter -> 'a -> unit ) -> Stdlib.Format.formatter -> 'a t -> unit

Pretty-printing

val join : ( 'a -> 'a -> [< 'a t ] ) -> 'a t -> 'a t -> 'a t
val narrow : ( 'a -> 'a -> [< 'a t ] ) -> 'a t -> 'a t -> 'a t