src/Pure/pattern.ML
changeset 17412 e26cb20ef0cc
parent 17221 6cd180204582
child 17756 d4a35f82fbb4
--- a/src/Pure/pattern.ML	Thu Sep 15 17:16:55 2005 +0200
+++ b/src/Pure/pattern.ML	Thu Sep 15 17:16:56 2005 +0200
@@ -357,7 +357,7 @@
           if loose_bvar(t,0) then raise MATCH
           else (case Envir.lookup' (insts, (ixn, T)) of
                   NONE => (typ_match thy (tyinsts, (T, fastype_of t)),
-                           Vartab.curried_update_new (ixn, (T, t)) insts)
+                           Vartab.update_new (ixn, (T, t)) insts)
                 | SOME u => if t aeconv u then instsp else raise MATCH)
       | (Free (a,T), Free (b,U)) =>
           if a=b then (typ_match thy (tyinsts,(T,U)), insts) else raise MATCH
@@ -378,11 +378,11 @@
 fun match_bind(itms,binders,ixn,T,is,t) =
   let val js = loose_bnos t
   in if null is
-     then if null js then Vartab.curried_update_new (ixn, (T, t)) itms else raise MATCH
+     then if null js then Vartab.update_new (ixn, (T, t)) itms else raise MATCH
      else if js subset_int is
           then let val t' = if downto0(is,length binders - 1) then t
                             else mapbnd (idx is) t
-               in Vartab.curried_update_new (ixn, (T, mkabs (binders, is, t'))) itms end
+               in Vartab.update_new (ixn, (T, mkabs (binders, is, t'))) itms end
           else raise MATCH
   end;