src/HOL/Tools/specification_package.ML
changeset 17057 0934ac31985f
parent 15945 08e8d3fb9343
child 17336 c05f72cff368
equal deleted inserted replaced
17056:05fc32a23b8b 17057:0934ac31985f
   237 	     (HOLogic.mk_Trueprop ex_prop,([],[]))) int thy
   237 	     (HOLogic.mk_Trueprop ex_prop,([],[]))) int thy
   238     end
   238     end
   239 
   239 
   240 (* outer syntax *)
   240 (* outer syntax *)
   241 
   241 
   242 local structure P = OuterParse and K = OuterSyntax.Keyword in
   242 local structure P = OuterParse and K = OuterKeyword in
   243 
   243 
   244 (* taken from ~~/Pure/Isar/isar_syn.ML *)
   244 (* taken from ~~/Pure/Isar/isar_syn.ML *)
   245 val opt_overloaded =
   245 val opt_overloaded =
   246   Scan.optional (P.$$$ "(" |-- P.!!! ((P.$$$ "overloaded" >> K true) --| P.$$$ ")")) false
   246   Scan.optional (P.$$$ "(" |-- P.!!! ((P.$$$ "overloaded" >> K true) --| P.$$$ ")")) false
   247 
   247