aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/names.ml13
-rw-r--r--kernel/names.mli12
-rw-r--r--kernel/type_errors.ml2
-rw-r--r--kernel/type_errors.mli2
4 files changed, 0 insertions, 29 deletions
diff --git a/kernel/names.ml b/kernel/names.ml
index 83cea889a4..035a5d5059 100644
--- a/kernel/names.ml
+++ b/kernel/names.ml
@@ -254,16 +254,6 @@ let kind_of_string = function
| "obj" -> OBJ
| _ -> invalid_arg "kind_of_string"
-(*s Section paths *)
-
-type qualid = string list * identifier
-
-let make_qualid p s = (p,s)
-let repr_qualid q = q
-
-let string_of_qualid (l,s) = String.concat "." (l@[s])
-let pr_qualid (l,s) = prlist_with_sep (fun () -> pr_str ".") pr_str (l@[s])
-
(*s Directory paths = section names paths *)
type dir_path = string list
@@ -281,9 +271,6 @@ let kind_of_path sp = sp.kind
let basename sp = sp.basename
let dirpath sp = sp.dirpath
-let qualid_of_sp sp =
- make_qualid (dirpath sp) (string_of_id (basename sp))
-
(* parsing and printing of section paths *)
let string_of_dirpath sl = String.concat "." sl
diff --git a/kernel/names.mli b/kernel/names.mli
index 6912d66654..98e39fae93 100644
--- a/kernel/names.mli
+++ b/kernel/names.mli
@@ -57,15 +57,6 @@ type dir_path = string list
(* Printing of directory paths as ["coq_root.module.submodule"] *)
val string_of_dirpath : dir_path -> string
-(*s Qualified idents are names relative to the current visilibity of names *)
-type qualid
-
-val make_qualid : dir_path -> identifier -> qualid
-val repr_qualid : qualid -> dir_path * identifier
-
-val string_of_qualid : qualid -> string
-val pr_qualid : qualid -> std_ppcmds
-
(*s Section paths are {\em absolute} names *)
type section_path
@@ -81,9 +72,6 @@ val kind_of_path : section_path -> path_kind
val sp_of_wd : string list -> section_path
val wd_of_sp : section_path -> string list
-(* Turns an absolute name into a qualified name denoting the same name *)
-val qualid_of_sp : section_path -> qualid
-
(* Parsing and printing of section path as ["coq_root.module.id"] *)
val path_of_string : string -> section_path
val string_of_path : section_path -> string
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml
index 269e30fca7..225756a999 100644
--- a/kernel/type_errors.ml
+++ b/kernel/type_errors.ml
@@ -59,8 +59,6 @@ type type_error =
| WrongNumargConstructor of constructor_path * int
| WrongPredicateArity of constr * constr * constr
| NeedsInversion of constr * constr
- (* Relocation error *)
- | QualidNotFound of qualid
exception TypeError of path_kind * env * type_error
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli
index 22c6bff998..e7e850c714 100644
--- a/kernel/type_errors.mli
+++ b/kernel/type_errors.mli
@@ -63,8 +63,6 @@ type type_error =
| WrongNumargConstructor of constructor_path * int
| WrongPredicateArity of constr * constr * constr
| NeedsInversion of constr * constr
- (* Relocation error *)
- | QualidNotFound of qualid
exception TypeError of path_kind * env * type_error