X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_cic_content%2Finterpretations.ml;h=44d7751d500d74232d482a0e5117ddce72a6d066;hb=6b76c5b3b82753966cabffd8536d8dd9f8cada20;hp=794859369bbc62f593f392b80b73fcf63d6e19b7;hpb=aa5c8c99c9f7ae285883cff133fc02b3d064888c;p=helm.git diff --git a/matita/components/ng_cic_content/interpretations.ml b/matita/components/ng_cic_content/interpretations.ml index 794859369..44d7751d5 100644 --- a/matita/components/ng_cic_content/interpretations.ml +++ b/matita/components/ng_cic_content/interpretations.ml @@ -38,10 +38,12 @@ let hide_coercions = ref true;; type cic_id = string +(* type term_info = { sort: (cic_id, Ast.sort_kind) Hashtbl.t; uri: (cic_id, NReference.reference) Hashtbl.t; } +*) module IntMap = Map.Make(struct type t = int let compare = compare end);; module StringMap = Map.Make(String);; @@ -185,7 +187,7 @@ let lookup_interpretations status ?(sorted=true) symbol = dsc, args, appl_pattern ) (StringMap.find symbol status#interp_db.interpretations) in - if sorted then HExtlib.list_uniq (List.sort Pervasives.compare raw) + if sorted then HExtlib.list_uniq (List.sort Stdlib.compare raw) else raw with Not_found -> raise Interpretation_not_found