equal
deleted
inserted
replaced
219 val abbreviationP = |
219 val abbreviationP = |
220 OuterSyntax.command "abbreviation" "constant abbreviation" K.thy_decl |
220 OuterSyntax.command "abbreviation" "constant abbreviation" K.thy_decl |
221 (P.opt_locale_target -- opt_mode -- |
221 (P.opt_locale_target -- opt_mode -- |
222 Scan.repeat1 (Scan.option constdecl -- P.prop) |
222 Scan.repeat1 (Scan.option constdecl -- P.prop) |
223 >> (fn ((loc, mode), args) => |
223 >> (fn ((loc, mode), args) => |
224 Toplevel.local_theory loc (Specification.abbreviation mode args))); |
224 Toplevel.local_theory loc (snd o Specification.abbreviation mode args))); |
225 |
225 |
226 val notationP = |
226 val notationP = |
227 OuterSyntax.command "notation" "variable/constant syntax" K.thy_decl |
227 OuterSyntax.command "notation" "variable/constant syntax" K.thy_decl |
228 (P.opt_locale_target -- opt_mode -- Scan.repeat1 (P.xname -- P.mixfix) |
228 (P.opt_locale_target -- opt_mode -- Scan.repeat1 (P.xname -- P.mixfix) |
229 >> (fn ((loc, mode), args) => |
229 >> (fn ((loc, mode), args) => |