recovered print translation after 'a => bool to 'a set change;
authorwenzelm
Wed, 03 Oct 2012 16:59:20 +0200
changeset 49689 b8a710806de9
parent 49688 c517d900805a
child 49690 a6814de45b69
recovered print translation after 'a => bool to 'a set change;
src/HOL/Library/Cardinality.thy
--- a/src/HOL/Library/Cardinality.thy	Wed Oct 03 16:43:41 2012 +0200
+++ b/src/HOL/Library/Cardinality.thy	Wed Oct 03 16:59:20 2012 +0200
@@ -45,8 +45,8 @@
 
 typed_print_translation (advanced) {*
   let
-    fun card_univ_tr' ctxt _ [Const (@{const_syntax UNIV}, Type (_, [T, _]))] =
-      Syntax.const @{syntax_const "_type_card"} $ Syntax_Phases.term_of_typ ctxt T;
+    fun card_univ_tr' ctxt _ [Const (@{const_syntax UNIV}, Type (_, [T]))] =
+      Syntax.const @{syntax_const "_type_card"} $ Syntax_Phases.term_of_typ ctxt T
   in [(@{const_syntax card}, card_univ_tr')] end
 *}