From ffa57bae1e18fd52d63e8512a352ac63db15a7a9 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 6 Aug 2009 19:00:11 +0000 Subject: - Cleaning phase of the interfaces of libnames.ml and nametab.ml (uniformisation of function names, classification). One of the most visible change is the renaming of section_path into full_path (the use of name section was obsolete due to the module system, but I don't know if the new name is the best chosen one - especially it remains some "sp" here and there). - Simplification of the interface of classify_object (first argument dropped). - Simplification of the code for vernac keyword "End". - Other small cleaning or dead code removal. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12265 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/ring/ring.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ring') diff --git a/plugins/ring/ring.ml b/plugins/ring/ring.ml index 6dcc1e8725..a07ec4757d 100644 --- a/plugins/ring/ring.ml +++ b/plugins/ring/ring.ml @@ -274,7 +274,7 @@ let (theory_to_obj, obj_to_theory) = open_function = (fun i o -> if i=1 then cache_th o); cache_function = cache_th; subst_function = subst_th; - classify_function = (fun (_,x) -> Substitute x); + classify_function = (fun x -> Substitute x); export_function = export_th } (* from the set A, guess the associated theory *) @@ -733,7 +733,7 @@ let build_setspolynom gl th lc = module SectionPathSet = Set.Make(struct - type t = section_path + type t = full_path let compare = Pervasives.compare end) -- cgit v1.2.3