equal
deleted
inserted
replaced
191 (** attributes **) |
191 (** attributes **) |
192 |
192 |
193 (* add and del rules *) |
193 (* add and del rules *) |
194 |
194 |
195 |
195 |
196 val rule_del = Thm.declaration_attribute (fn th => Rules.map (del_rule th)); |
196 val rule_del = Thm.declaration_attribute (Rules.map o del_rule); |
197 |
197 |
198 fun rule_add k view opt_w = |
198 fun rule_add k view opt_w = |
199 Thm.declaration_attribute (fn th => Rules.map (add_rule k opt_w (view th) o del_rule th)); |
199 Thm.declaration_attribute (fn th => Rules.map (add_rule k opt_w (view th) o del_rule th)); |
200 |
200 |
201 val intro_bang = rule_add intro_bangK I; |
201 val intro_bang = rule_add intro_bangK I; |