src/Pure/Isar/isar_syn.ML
changeset 15570 8d8c70b41bab
parent 15531 08c8dad8e399
child 15596 8665d08085df
equal deleted inserted replaced
15569:1b3115d1a8df 15570:8d8c70b41bab
   212   OuterSyntax.command "lemmas" "define lemmas" K.thy_decl
   212   OuterSyntax.command "lemmas" "define lemmas" K.thy_decl
   213     (theorems Drule.lemmaK >> Toplevel.theory);
   213     (theorems Drule.lemmaK >> Toplevel.theory);
   214 
   214 
   215 val declareP =
   215 val declareP =
   216   OuterSyntax.command "declare" "declare theorems (improper)" K.thy_script
   216   OuterSyntax.command "declare" "declare theorems (improper)" K.thy_script
   217     (P.locale_target -- (P.and_list1 P.xthms1 >> flat)
   217     (P.locale_target -- (P.and_list1 P.xthms1 >> List.concat)
   218       >> (Toplevel.theory o uncurry IsarThy.declare_theorems));
   218       >> (Toplevel.theory o uncurry IsarThy.declare_theorems));
   219 
   219 
   220 
   220 
   221 (* name space entry path *)
   221 (* name space entry path *)
   222 
   222