src/Pure/Isar/attrib.ML
changeset 8496 7e4a466b18d5
parent 8368 bdc3ee0d8cb6
child 8633 427ead639d8a
equal deleted inserted replaced
8495:4f5a3272c8ba 8496:7e4a466b18d5
   167 (** Pure attributes **)
   167 (** Pure attributes **)
   168 
   168 
   169 (* tags *)
   169 (* tags *)
   170 
   170 
   171 fun gen_tag x = syntax (tag >> Drule.tag) x;
   171 fun gen_tag x = syntax (tag >> Drule.tag) x;
   172 fun gen_untag x = syntax (tag >> Drule.untag) x;
   172 fun gen_untag x = syntax (Scan.lift Args.name >> Drule.untag) x;
   173 
   173 
   174 
   174 
   175 (* transfer *)
   175 (* transfer *)
   176 
   176 
   177 fun gen_transfer theory_of = no_args (Drule.rule_attribute (fn st => Thm.transfer (theory_of st)));
   177 fun gen_transfer theory_of = no_args (Drule.rule_attribute (fn st => Thm.transfer (theory_of st)));