equal
deleted
inserted
replaced
216 >> (fn ((loc, mode), args) => |
216 >> (fn ((loc, mode), args) => |
217 Toplevel.local_theory loc (snd o Specification.abbreviation mode args))); |
217 Toplevel.local_theory loc (snd o Specification.abbreviation mode args))); |
218 |
218 |
219 val notationP = |
219 val notationP = |
220 OuterSyntax.command "notation" "variable/constant syntax" K.thy_decl |
220 OuterSyntax.command "notation" "variable/constant syntax" K.thy_decl |
221 (P.opt_locale_target -- opt_mode -- Scan.repeat1 (P.xname -- P.mixfix) |
221 (P.opt_locale_target -- opt_mode -- P.and_list1 (P.xname -- P.mixfix) |
222 >> (fn ((loc, mode), args) => |
222 >> (fn ((loc, mode), args) => |
223 Toplevel.local_theory loc (Specification.notation mode args))); |
223 Toplevel.local_theory loc (Specification.notation mode args))); |
224 |
224 |
225 |
225 |
226 (* constant specifications *) |
226 (* constant specifications *) |