src/Pure/Syntax/printer.ML
changeset 42262 4821a2a91548
parent 42254 f427c9890c46
child 42267 9566078ad905
equal deleted inserted replaced
42261:611856e8cb1e 42262:4821a2a91548
   178           then SOME (Pretty.str x) else NONE
   178           then SOME (Pretty.str x) else NONE
   179       | SOME f => SOME (f ctxt x));
   179       | SOME f => SOME (f ctxt x));
   180 
   180 
   181     (*default applications: prefix / postfix*)
   181     (*default applications: prefix / postfix*)
   182     val appT =
   182     val appT =
   183       if type_mode then Type_Ext.tappl_ast_tr'
   183       if type_mode then Syn_Trans.tappl_ast_tr'
   184       else if curried then Syn_Trans.applC_ast_tr'
   184       else if curried then Syn_Trans.applC_ast_tr'
   185       else Syn_Trans.appl_ast_tr';
   185       else Syn_Trans.appl_ast_tr';
   186 
   186 
   187     fun synT _ ([], args) = ([], args)
   187     fun synT _ ([], args) = ([], args)
   188       | synT markup (Arg p :: symbs, t :: args) =
   188       | synT markup (Arg p :: symbs, t :: args) =