src/Pure/ROOT.ML
changeset 22592 97b5290a8c34
parent 22361 d8d96d0122a7
child 22679 68cd69a388e2
--- a/src/Pure/ROOT.ML	Wed Apr 04 00:11:26 2007 +0200
+++ b/src/Pure/ROOT.ML	Wed Apr 04 00:13:13 2007 +0200
@@ -7,9 +7,6 @@
 val banner = "Pure Isabelle";
 val version = "Isabelle repository version";    (*filled in automatically!*)
 
-(*if true then some tools will OMIT some proofs*)
-val quick_and_dirty = ref false;
-
 print_depth 10;
 
 (*fake hiding of private structures*)
@@ -18,6 +15,12 @@
 (*basic tools*)
 use "General/basics.ML";
 use "library.ML";
+
+(*generic non-sense*)
+val quick_and_dirty = ref false;
+val print_mode = ref ([]: string list);
+fun print_mode_active s = member (op =) (! print_mode) s;
+
 cd "General"; use "ROOT.ML"; cd "..";
 
 (*fundamental structures*)