let o = aux_obj t in
List.flatten !results, o
-let rec list_uniq = function
- | [] -> []
- | h::[] -> [h]
- | h1::h2::tl when CicUniv.eq h1 h2 -> list_uniq (h2 :: tl)
- | h1::tl (* when h1 <> h2 *) -> h1 :: list_uniq tl
-
let list_uniq l =
- list_uniq (List.fast_sort CicUniv.compare l)
+ HExtlib.list_uniq (List.fast_sort CicUniv.compare l)
let clean_and_fill uri obj ugraph =
(* universes of obj fills the universes of the obj with the right uri *)