aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-03-30 13:19:45 +0200
committerGaëtan Gilbert2020-03-30 13:19:45 +0200
commit64e65e9fe7f0a4ea72ab195a4e8708a181c5abef (patch)
treeffb14c27988d3ead4d795d471d7a39191baf2823 /library
parente21aae1b32adba4e8673783f327826d279e05ced (diff)
parentf3fb2f21646f257c0dd030a8411bafd80ea9d0bd (diff)
Merge PR #11817: [cleanup] Remove unnecessary Map/Set module creation
Reviewed-by: SkySkimmer Reviewed-by: herbelin Ack-by: ppedrot
Diffstat (limited to 'library')
-rw-r--r--library/libnames.ml3
-rw-r--r--library/libnames.mli4
2 files changed, 0 insertions, 7 deletions
diff --git a/library/libnames.ml b/library/libnames.ml
index 6f55a8dc3d..88b2e41855 100644
--- a/library/libnames.ml
+++ b/library/libnames.ml
@@ -78,9 +78,6 @@ let dirpath_of_string s =
in
DirPath.make path
-module Dirset = Set.Make(DirPath)
-module Dirmap = Map.Make(DirPath)
-
(*s Section paths are absolute names *)
type full_path = {
diff --git a/library/libnames.mli b/library/libnames.mli
index 23792e54c2..a384510879 100644
--- a/library/libnames.mli
+++ b/library/libnames.mli
@@ -8,7 +8,6 @@
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
-open Util
open Names
(** {6 Dirpaths } *)
@@ -34,9 +33,6 @@ val is_dirpath_prefix_of : DirPath.t -> DirPath.t -> bool
val is_dirpath_suffix_of : DirPath.t -> DirPath.t -> bool
-module Dirset : Set.S with type elt = DirPath.t
-module Dirmap : Map.ExtS with type key = DirPath.t and module Set := Dirset
-
(** {6 Full paths are {e absolute} paths of declarations } *)
type full_path