src/HOL/Typerep.thy
changeset 45693 bbd2c7ffc02c
parent 43329 84472e198515
child 48272 db75b4005d9a
--- a/src/HOL/Typerep.thy	Wed Nov 30 16:03:18 2011 +0100
+++ b/src/HOL/Typerep.thy	Wed Nov 30 16:05:15 2011 +0100
@@ -63,8 +63,9 @@
     |> Class.prove_instantiation_exit (K (Class.intro_classes_tac []))
   end;
 
-fun ensure_typerep tyco thy = if not (can (Sorts.mg_domain (Sign.classes_of thy) tyco) @{sort typerep})
-  andalso can (Sorts.mg_domain (Sign.classes_of thy) tyco) @{sort type}
+fun ensure_typerep tyco thy =
+  if not (can (Sorts.mg_domain (Sign.classes_of thy) tyco) @{sort typerep})
+    andalso can (Sorts.mg_domain (Sign.classes_of thy) tyco) @{sort type}
   then add_typerep tyco thy else thy;
 
 in