Module Lattice.Lift2

Parameters

module Base1 : S
module Base2 : S

Signature

type t = [
  1. | `Bot
  2. | `Lifted1 of Base1.t
  3. | `Lifted2 of Base2.t
  4. | `Top
]
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val hash : t -> int
val tag : 'a -> 'b
val arbitrary : unit -> 'a
val pretty : unit -> t -> Printable.Pretty.doc
val show : [< `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] -> string
val relift : [< `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top Lifted1 Lifted2 ] as 'a -> 'a
val name : unit -> string
val printXml : 'a BatInnerIO.output -> [< `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] -> unit
val to_yojson : [< `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] -> Yojson.Safe.t
val bot : unit -> [> `Bot ]
val is_bot : [> `Bot ] -> bool
val top : unit -> [> `Top ]
val is_top : [> `Top ] -> bool
val leq : [> `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] -> [> `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] -> bool
val pretty_diff : unit -> (t * t) -> Pretty.doc
val join : [> `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] as 'a -> 'a -> 'a
val meet : [> `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] as 'a -> 'a -> 'a
val widen : [> `Lifted1 of Base1.t | `Lifted2 of Base2.t ] -> [> `Lifted1 of Base1.t | `Lifted2 of Base2.t ] as 'a -> 'a
val narrow : [> `Bot | `Lifted1 of Base1.t | `Lifted2 of Base2.t | `Top ] as 'a -> 'a -> 'a