src/Pure/Isar/args.ML
changeset 26336 a0e2b706ce73
parent 25999 f8bcd311d501
child 27234 e60cdbc5e8e1
equal deleted inserted replaced
26335:961bbcc9d85b 26336:a0e2b706ce73
    80   val term_abbrev: Context.generic * T list -> term * (Context.generic * T list)
    80   val term_abbrev: Context.generic * T list -> term * (Context.generic * T list)
    81   val prop: Context.generic * T list -> term * (Context.generic * T list)
    81   val prop: Context.generic * T list -> term * (Context.generic * T list)
    82   val tyname: Context.generic * T list -> string * (Context.generic * T list)
    82   val tyname: Context.generic * T list -> string * (Context.generic * T list)
    83   val const: Context.generic * T list -> string * (Context.generic * T list)
    83   val const: Context.generic * T list -> string * (Context.generic * T list)
    84   val const_proper: Context.generic * T list -> string * (Context.generic * T list)
    84   val const_proper: Context.generic * T list -> string * (Context.generic * T list)
    85   val thm_sel: T list -> PureThy.interval list * T list
    85   val thm_sel: T list -> Facts.interval list * T list
    86   val bang_facts: Context.generic * T list -> thm list * (Context.generic * T list)
    86   val bang_facts: Context.generic * T list -> thm list * (Context.generic * T list)
    87   val goal_spec: ((int -> tactic) -> tactic) -> ('a * T list)
    87   val goal_spec: ((int -> tactic) -> tactic) -> ('a * T list)
    88     -> ((int -> tactic) -> tactic) * ('a * T list)
    88     -> ((int -> tactic) -> tactic) * ('a * T list)
    89   val attribs: (string -> string) -> T list -> src list * T list
    89   val attribs: (string -> string) -> T list -> src list * T list
    90   val opt_attribs: (string -> string) -> T list -> src list * T list
    90   val opt_attribs: (string -> string) -> T list -> src list * T list
   342 
   342 
   343 
   343 
   344 (* misc *)
   344 (* misc *)
   345 
   345 
   346 val thm_sel = parens (list1
   346 val thm_sel = parens (list1
   347  (nat --| $$$ "-" -- nat >> PureThy.FromTo ||
   347  (nat --| $$$ "-" -- nat >> Facts.FromTo ||
   348   nat --| $$$ "-" >> PureThy.From ||
   348   nat --| $$$ "-" >> Facts.From ||
   349   nat >> PureThy.Single));
   349   nat >> Facts.Single));
   350 
   350 
   351 val bang_facts = Scan.peek (fn context =>
   351 val bang_facts = Scan.peek (fn context =>
   352   $$$ "!" >> (fn _ => (warning "use of prems in proof method";
   352   $$$ "!" >> (fn _ => (warning "use of prems in proof method";
   353     Assumption.prems_of (Context.proof_of context))) || Scan.succeed []);
   353     Assumption.prems_of (Context.proof_of context))) || Scan.succeed []);
   354 
   354