Frama-C API - Bottom
module Make_Datatype (X : Datatype.S) : Datatype.S_with_collections with type t = X.t or_bottomDatatype constructor
module Bound_Lattice (Lattice : Lattice_type.Join_Semi_Lattice) : sig ... endBounds a semi-lattice
val is_bottom : 'a t -> boolAccess
val non_bottom : 'a t -> 'aval value : bottom:'a -> 'a t -> 'aval hash : ('a -> int) -> 'a t -> intDatatype
val pretty : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unitval iter : ('a -> unit) -> 'a t -> unitIterator.
In a lattice where the elements are lists of non-bottom values, the empty list is the bottom case.
val to_option : 'a t -> 'a optionConversion from Bottom to None.
val of_option : 'a option -> 'a tval of_list : join:('a -> 'a -> 'a) -> 'a list -> 'a tJoins all elements of a list. Returns Bottom if the list is empty.
val to_list : 'a t -> 'a listReturns an empty list on Bottom, and a list of one element otherwise.
val list_values : 'a t list -> 'a listFilters the given list to remove Bottom elements.
val list_filter_map : ('a -> 'b t) -> 'a list -> 'b listlist_filter_map f l maps the function f to the list l and does not keep bottoms.
val add_to_list : 'a t -> 'a list -> 'a listadd_to_list elt list adds elt to the list if it is not bottom.
