a more complex record expression -- cf. src/HOL/Tools/quickcheck_generators.ML
authorhaftmann
Wed, 27 Jan 2010 14:02:53 +0100
changeset 34971 5c290f56ebf7
parent 34970 4c316d777461
child 34972 cc1d4c3ca9db
a more complex record expression -- cf. src/HOL/Tools/quickcheck_generators.ML
src/HOL/ex/Records.thy
--- a/src/HOL/ex/Records.thy	Wed Jan 27 14:02:53 2010 +0100
+++ b/src/HOL/ex/Records.thy	Wed Jan 27 14:02:53 2010 +0100
@@ -334,6 +334,16 @@
   done
 
 
+subsection {* A more complex record expression *}
+
+record ('a, 'b, 'c) bar = bar1 :: 'a
+  bar2 :: 'b
+  bar3 :: 'c
+  bar21 :: "'b \<times> 'a"
+  bar32 :: "'c \<times> 'b"
+  bar31 :: "'c \<times> 'a"
+
+
 subsection {* Some code generation *}
 
 export_code foo1 foo3 foo5 foo10 foo11 in SML file -