Type.typ_match now uses Vartab instead of association lists.
authorberghofe
Fri, 10 Mar 2000 23:04:07 +0100
changeset 8416 8eb32cd3122e
parent 8415 852c63072334
child 8417 ae28c198e78d
Type.typ_match now uses Vartab instead of association lists.
TFL/thry.sml
--- a/TFL/thry.sml	Fri Mar 10 17:53:16 2000 +0100
+++ b/TFL/thry.sml	Fri Mar 10 23:04:07 2000 +0100
@@ -24,8 +24,8 @@
     in (map tmbind tm_theta, map tybind ty_theta)
     end
 
- fun match_type thry pat ob = 
-    map tybind(Type.typ_match (#tsig(Sign.rep_sg(Theory.sign_of thry))) ([],(pat,ob)))
+ fun match_type thry pat ob = map tybind (Vartab.dest
+   (Type.typ_match (#tsig(Sign.rep_sg(Theory.sign_of thry))) (Vartab.empty, (pat,ob))))
 end;