src/Pure/Isar/specification.ML
changeset 55951 c07d184aebe9
parent 55639 e4e8cbd9d780
child 55952 2f85cc6c27d4
equal deleted inserted replaced
55950:3bb5c7179234 55951:c07d184aebe9
   274   lthy |> Local_Theory.notation add mode (map (apfst (prep_const lthy)) args);
   274   lthy |> Local_Theory.notation add mode (map (apfst (prep_const lthy)) args);
   275 
   275 
   276 in
   276 in
   277 
   277 
   278 val type_notation = gen_type_notation (K I);
   278 val type_notation = gen_type_notation (K I);
   279 val type_notation_cmd = gen_type_notation (fn ctxt => Proof_Context.read_type_name ctxt false);
   279 val type_notation_cmd =
       
   280   gen_type_notation (fn ctxt => Proof_Context.read_type_name ctxt {proper = false, strict = false});
   280 
   281 
   281 val notation = gen_notation (K I);
   282 val notation = gen_notation (K I);
   282 val notation_cmd = gen_notation (fn ctxt => Proof_Context.read_const ctxt false dummyT);
   283 val notation_cmd = gen_notation (fn ctxt => Proof_Context.read_const ctxt false dummyT);
   283 
   284 
   284 end;
   285 end;