removed obsolete adhoc_freeze_vars (may use Variable.import_terms instead);
authorwenzelm
Wed, 12 Jul 2006 21:19:22 +0200
changeset 20116 f2aecd6e58ec
parent 20115 6c2ca3749a80
child 20117 0f7b7bfae82b
removed obsolete adhoc_freeze_vars (may use Variable.import_terms instead);
src/Pure/term.ML
--- a/src/Pure/term.ML	Wed Jul 12 21:19:19 2006 +0200
+++ b/src/Pure/term.ML	Wed Jul 12 21:19:22 2006 +0200
@@ -203,7 +203,6 @@
   val replace_dummy_patterns: int * term -> int * term
   val is_replaced_dummy_pattern: indexname -> bool
   val show_dummy_patterns: term -> term
-  val adhoc_freeze_vars: term -> term * string list
   val string_of_vname: indexname -> string
   val string_of_vname': indexname -> string
 end;
@@ -1312,17 +1311,6 @@
   | show_dummy_patterns a = a;
 
 
-(* adhoc freezing *)
-
-fun adhoc_freeze_vars tm =
-  let
-    fun mk_inst (var as Var ((a, i), T)) =
-      let val x = a ^ Library.gensym "_" ^ string_of_int i
-      in ((var,  Free(x, T)), x) end;
-    val (insts, xs) = split_list (map mk_inst (term_vars tm));
-  in (subst_atomic insts tm, xs) end;
-
-
 (* display variables *)
 
 val show_question_marks = ref true;