SetDomain.Reverse
Reverses lattice order of a set domain while keeping the set operations same.
include module type of struct include Base end
include Lattice.S
include Lattice.PO
include Printable.S
type elt = Base.elt
val mem : elt -> {t}46 -> bool
val add : elt -> {t}46 -> {t}46
val singleton : elt -> {t}46
val remove : elt -> {t}46 -> {t}46
See Set.S.remove
.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
See Set.S.diff
.
NB! On set abstractions this is a strong removal, i.e. all subsumed elements are also removed.
val iter : (elt -> unit) -> {t}46 -> unit
See Set.S.iter
.
On set abstractions this iterates only over canonical elements, not all subsumed elements.
See Set.S.map
.
On set abstractions this maps only canonical elements, not all subsumed elements.
val fold : (elt -> 'a -> 'a) -> {t}46 -> 'a -> 'a
See Set.S.fold
.
On set abstractions this folds only over canonical elements, not all subsumed elements.
val for_all : (elt -> bool) -> {t}46 -> bool
See Set.S.for_all
.
On set abstractions this checks only canonical elements, not all subsumed elements.
val exists : (elt -> bool) -> {t}46 -> bool
See Set.S.exists
.
On set abstractions this checks only canonical elements, not all subsumed elements.
val filter : (elt -> bool) -> {t}46 -> {t}46
See Set.S.filter
.
On set abstractions this filters only canonical elements, not all subsumed elements.
val partition : (elt -> bool) -> {t}46 -> {t}46 * {t}46
See Set.S.partition
.
On set abstractions this partitions only canonical elements, not all subsumed elements.
See Set.S.cardinal
.
On set abstractions this counts only canonical elements, not all subsumed elements.
val elements : {t}46 -> elt list
See Set.S.elements
.
On set abstractions this lists only canonical elements, not all subsumed elements.
val of_list : elt list -> {t}46
val min_elt : {t}46 -> elt
See Set.S.min_elt
.
On set abstractions this chooses only a canonical element, not any subsumed element.
val max_elt : {t}46 -> elt
See Set.S.max_elt
.
On set abstractions this chooses only a canonical element, not any subsumed element.
val choose : {t}46 -> elt
See Set.S.choose
.
On set abstractions this chooses only a canonical element, not any subsumed element.
include sig ... end
type t = Base.t
val hash : t -> int
val show : t -> string
val pretty : unit -> t -> Printable.Pretty.doc
val to_yojson : t -> Yojson.Safe.t
val tag : t -> int
val bot : unit -> Base.t
val is_bot : Base.t -> bool
val top : unit -> Base.t
val is_top : Base.t -> bool
val printXml : 'a BatInnerIO.output -> Base.t -> unit
val arbitrary : unit -> Base.t QCheck.arbitrary