<TERM> syntax
authorhaftmann
Fri, 01 Feb 2008 08:35:58 +0100
changeset 26032 377b7aa0b5b5
parent 26031 9830e7ffd574
child 26033 278025d5282d
<TERM> syntax
src/HOL/Library/Eval.thy
--- a/src/HOL/Library/Eval.thy	Fri Feb 01 08:32:26 2008 +0100
+++ b/src/HOL/Library/Eval.thy	Fri Feb 01 08:35:58 2008 +0100
@@ -308,6 +308,19 @@
            (Eval.evaluate_cmd some_name t)));
 *}
 
-hide (open) const Type TFree Const App dummy_term typ_of term_of
+print_translation {*
+let
+  val term = Const ("<TERM>", dummyT);
+  fun tr1' [_, _] = term;
+  fun tr2' [] = term;
+in
+  [(@{const_syntax Const}, tr1'),
+    (@{const_syntax App}, tr1'),
+    (@{const_syntax dummy_term}, tr2')]
+end
+*}
+
+hide (open) const Type TFree typ_of term_of
+hide const Const App dummy_term
 
 end