src/HOL/Tools/BNF/bnf_util.ML
changeset 58665 50b229a5a097
parent 58634 9f10d82e8188
child 58676 cdf84b6e1297
--- a/src/HOL/Tools/BNF/bnf_util.ML	Mon Oct 13 20:51:48 2014 +0200
+++ b/src/HOL/Tools/BNF/bnf_util.ML	Mon Oct 13 21:41:29 2014 +0200
@@ -103,7 +103,6 @@
   val parse_type_args_named_constrained: (binding option * (string * string option)) list parser
   val parse_map_rel_bindings: (binding * binding) parser
 
-  val map_local_theory: (local_theory -> local_theory) -> theory -> theory
   val typedef: binding * (string * sort) list * mixfix -> term ->
     (binding * binding) option -> tactic -> local_theory -> (string * Typedef.info) * local_theory
 end;
@@ -141,8 +140,6 @@
     >> (fn ps => fold extract_map_rel ps no_map_rel)
   || Scan.succeed no_map_rel;
 
-fun map_local_theory f = Named_Target.theory_init #> f #> Local_Theory.exit_global;
-
 fun typedef (b, Ts, mx) set opt_morphs tac lthy =
   let
     (*Work around loss of qualification in "typedef" axioms by replicating it in the name*)