src/Pure/Syntax/syn_trans.ML
changeset 10572 b070825579b8
parent 8595 06874c5c3cfa
child 11491 085a0d2857e8
equal deleted inserted replaced
10571:fdde440a9033 10572:b070825579b8
   280 
   280 
   281 
   281 
   282 (* meta implication *)
   282 (* meta implication *)
   283 
   283 
   284 fun impl_ast_tr' (*"==>"*) asts =
   284 fun impl_ast_tr' (*"==>"*) asts =
   285   (case Ast.unfold_ast_p "==>" (Ast.Appl (Ast.Constant "==>" :: asts)) of
   285   if TypeExt.no_brackets () then raise Match
   286     (asms as _ :: _ :: _, concl)
   286   else
   287       => Ast.Appl [Ast.Constant "_bigimpl", Ast.fold_ast "_asms" asms, concl]
   287     (case Ast.unfold_ast_p "==>" (Ast.Appl (Ast.Constant "==>" :: asts)) of
   288   | _ => raise Match);
   288       (asms as _ :: _ :: _, concl)
       
   289         => Ast.Appl [Ast.Constant "_bigimpl", Ast.fold_ast "_asms" asms, concl]
       
   290     | _ => raise Match);
   289 
   291 
   290 
   292 
   291 (* type reflection *)
   293 (* type reflection *)
   292 
   294 
   293 fun type_tr' show_sorts (*"TYPE"*) (Type ("itself", [T])) ts =
   295 fun type_tr' show_sorts (*"TYPE"*) (Type ("itself", [T])) ts =