removed global_names flag;
authorwenzelm
Tue, 28 Jul 1998 17:05:34 +0200
changeset 5210 54aaa779b6b4
parent 5209 a69fe5a61b6c
child 5211 c02b0c727780
removed global_names flag;
src/CTT/ROOT.ML
src/HOL/Record.thy
src/HOL/TLA/ROOT.ML
src/HOL/Tools/record_package.ML
src/HOLCF/IMP/ROOT.ML
src/Pure/pure_thy.ML
src/Sequents/ROOT.ML
--- a/src/CTT/ROOT.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/CTT/ROOT.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -10,8 +10,6 @@
 val banner = "Constructive Type Theory";
 writeln banner;
 
-reset global_names;
-
 print_depth 1;  
 
 use_thy "CTT";
--- a/src/HOL/Record.thy	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/HOL/Record.thy	Tue Jul 28 17:05:34 1998 +0200
@@ -42,12 +42,8 @@
 
 (* type class for record extensions *)
 
-global          (*compatibility with global_names flag!*)
-
 axclass more < term
 
-local
-
 instance unit :: more
 instance "*" :: (term, more) more
 
--- a/src/HOL/TLA/ROOT.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/HOL/TLA/ROOT.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -12,8 +12,6 @@
 *)
 Syntax.ambiguity_level := 10000;
 
-reset global_names;
-
 (*FIXME: the old auto_tac is sometimes needed!*)
 fun old_auto_tac (cs,ss) = 
     let val cs' = cs addss ss 
--- a/src/HOL/Tools/record_package.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/HOL/Tools/record_package.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -99,7 +99,7 @@
 
 (* more type class *)
 
-val moreS = ["more"];
+val moreS = ["Record.more"];
 
 
 (* types *)
--- a/src/HOLCF/IMP/ROOT.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/HOLCF/IMP/ROOT.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -4,8 +4,6 @@
     Copyright   1997  TU Muenchen
 *)
 
-reset global_names;
-
 (*Load theories from ../meta_theory without generating HTML files
   (has already been done by HOL/IMP/ROOT.ML)*)
 val old_make_html = !make_html;
--- a/src/Pure/pure_thy.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/Pure/pure_thy.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -12,7 +12,6 @@
   val get_thm: theory -> xstring -> thm
   val get_thms: theory -> xstring -> thm list
   val thms_of: theory -> (string * thm) list
-  val global_names: bool ref
   structure ProtoPure:
     sig
       val thy: theory
@@ -313,15 +312,10 @@
 
 (* control prefixing of theory name *)
 
-(*compatibility flag, likely to disappear someday*)
-val global_names = ref false;
-
-fun global_path thy =
-  if ! global_names then thy else Theory.root_path thy;
+val global_path = Theory.root_path;
 
 fun local_path thy =
-  if ! global_names then thy
-  else thy |> Theory.root_path |> Theory.add_path (get_name thy);
+  thy |> Theory.root_path |> Theory.add_path (get_name thy);
 
 
 (* begin / end theory *)
--- a/src/Sequents/ROOT.ML	Tue Jul 28 17:03:12 1998 +0200
+++ b/src/Sequents/ROOT.ML	Tue Jul 28 17:05:34 1998 +0200
@@ -9,8 +9,6 @@
 val banner = "Sequent Calculii";
 writeln banner;
 
-reset global_names;
-
 print_depth 1;  
 
 use_thy "Sequents";