src/Pure/thm.ML
changeset 17412 e26cb20ef0cc
parent 17345 9ea1e2179786
child 17708 6c6ecafd8c0e
--- a/src/Pure/thm.ML	Thu Sep 15 17:16:55 2005 +0200
+++ b/src/Pure/thm.ML	Thu Sep 15 17:16:56 2005 +0200
@@ -526,7 +526,7 @@
 fun get_axiom_i theory name =
   let
     fun get_ax thy =
-      Symtab.curried_lookup (#2 (#axioms (Theory.rep_theory thy))) name
+      Symtab.lookup (#2 (#axioms (Theory.rep_theory thy))) name
       |> Option.map (fn prop =>
           Thm {thy_ref = Theory.self_ref thy,
             der = Pt.infer_derivs' I (false, Pt.axm_proof name prop),
@@ -1484,7 +1484,7 @@
 fun invoke_oracle_i thy1 name =
   let
     val oracle =
-      (case Symtab.curried_lookup (#2 (#oracles (Theory.rep_theory thy1))) name of
+      (case Symtab.lookup (#2 (#oracles (Theory.rep_theory thy1))) name of
         NONE => raise THM ("Unknown oracle: " ^ name, 0, [])
       | SOME (f, _) => f);
     val thy_ref1 = Theory.self_ref thy1;