typ_of instance for int
authorhaftmann
Sat, 19 May 2007 11:33:24 +0200
changeset 23020 abecb6a8cea6
parent 23019 019d44d46834
child 23021 f602a131eaa1
typ_of instance for int
src/HOL/Library/Eval.thy
--- a/src/HOL/Library/Eval.thy	Sat May 19 11:33:23 2007 +0200
+++ b/src/HOL/Library/Eval.thy	Sat May 19 11:33:24 2007 +0200
@@ -34,6 +34,9 @@
 end;
 *}
 
+instance int :: typ_of
+  "typ_of T \<equiv> STR ''IntDef.int'' {\<struct>} []" ..
+
 setup {*
 let
   fun mk arities _ thy =