src/Pure/Isar/locale.ML
changeset 30763 6976521b4263
parent 30761 ac7570d80c3d
child 30764 3e3e7aa0cc7a
equal deleted inserted replaced
30762:cabf9ff3a129 30763:6976521b4263
   304   let
   304   let
   305     val facts' = Attrib.map_facts (Attrib.attribute_i thy) facts
   305     val facts' = Attrib.map_facts (Attrib.attribute_i thy) facts
   306   in PureThy.note_thmss kind facts' thy |> snd end
   306   in PureThy.note_thmss kind facts' thy |> snd end
   307 
   307 
   308 fun init_local_elem (Fixes fixes) ctxt = ctxt |>
   308 fun init_local_elem (Fixes fixes) ctxt = ctxt |>
   309       ProofContext.add_fixes_i fixes |> snd
   309       ProofContext.add_fixes fixes |> snd
   310   | init_local_elem (Assumes assms) ctxt =
   310   | init_local_elem (Assumes assms) ctxt =
   311       let
   311       let
   312         val assms' = Attrib.map_specs (Attrib.attribute_i (ProofContext.theory_of ctxt)) assms
   312         val assms' = Attrib.map_specs (Attrib.attribute_i (ProofContext.theory_of ctxt)) assms
   313       in
   313       in
   314         ctxt |> fold Variable.auto_fixes (maps (map fst o snd) assms') |>
   314         ctxt |> fold Variable.auto_fixes (maps (map fst o snd) assms') |>