making catch_match polymorphic
authorbulwahn
Thu, 01 Dec 2011 22:14:35 +0100
changeset 45729 a709e1a0f3dd
parent 45728 123e3a9a3bb3
child 45730 6bd0acefaedb
making catch_match polymorphic
src/HOL/Quickcheck.thy
--- a/src/HOL/Quickcheck.thy	Thu Dec 01 22:14:35 2011 +0100
+++ b/src/HOL/Quickcheck.thy	Thu Dec 01 22:14:35 2011 +0100
@@ -16,7 +16,7 @@
 
 subsection {* Catching Match exceptions *}
 
-definition catch_match :: "(bool * term list) option => (bool * term list) option => (bool * term list) option"
+definition catch_match :: "'a => 'a => 'a" (* "(bool * term list) option => (bool * term list) option => (bool * term list) option"*)
 where
   [code del]: "catch_match t1 t2 = (SOME t. t = t1 \<or> t = t2)"