Frama-C API - List
List manipulation
val add : 'a t -> 'a list -> 'a listadd elt list adds elt to the list if it is not bottom.
val values : 'a t list -> 'a listFilters the given list to remove Bottom elements.
val join : ('a -> 'a -> 'a) -> 'a list -> 'a tJoins all elements of a list. Returns `Bottom if the list is empty.
join_values filters the given list to remove `Bottom elements and join the remaining values. Returns `Bottom if the list is empty. join_values f l has the same result as values l |> join f but only iterates through the list once.
val filter_map : ('a -> 'b t) -> 'a list -> 'b listfilter_map f l maps the function f to the list l and does not keep bottoms.
