From: Stefano Zacchiroli Date: Fri, 22 Oct 2004 12:25:12 +0000 (+0000) Subject: removed old function term_of_uri (now in CicUtil) X-Git-Tag: V_0_0_10~41 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=971efe27973909c5d7eb9c9f9e6268585407da54;p=helm.git removed old function term_of_uri (now in CicUtil) --- diff --git a/helm/ocaml/cic/helmLibraryObjects.ml b/helm/ocaml/cic/helmLibraryObjects.ml index ce81281a7..6ebdf8e1f 100644 --- a/helm/ocaml/cic/helmLibraryObjects.ml +++ b/helm/ocaml/cic/helmLibraryObjects.ml @@ -24,11 +24,11 @@ let indconuri_of_uri uri = int_of_string (String.sub uri index_con (String.length uri - index_con))) +(* (* NO LONGER USED, see CicUtil.term_of_uri *) let term_of_uri ?(subst = []) uri = let s = UriManager.string_of_uri uri in try (* Constant *) - (* TODO explicit substitutions? *) let len = String.length s in let sub = String.sub s (len -4) 4 in if sub = ".con" then @@ -47,6 +47,7 @@ let term_of_uri ?(subst = []) uri = mutconstruct ~subst uri typeno consno) with | Invalid_argument _ | Not_found -> raise (UriManager.IllFormedUri s) +*) (** {2 Helm's objects shorthands} *) diff --git a/helm/ocaml/cic/helmLibraryObjects.mli b/helm/ocaml/cic/helmLibraryObjects.mli index 0b380afbd..677879899 100644 --- a/helm/ocaml/cic/helmLibraryObjects.mli +++ b/helm/ocaml/cic/helmLibraryObjects.mli @@ -180,6 +180,3 @@ val build_bin_pos : int -> Cic.term val build_nat : int -> Cic.term val build_real : int -> Cic.term -val term_of_uri : - ?subst:Cic.term Cic.explicit_named_substitution -> UriManager.uri -> Cic.term -