src/Pure/Isar/attrib.ML
changeset 19046 bc5c6c9b114e
parent 18998 10c251f29847
child 19473 d87a8838afa4
--- a/src/Pure/Isar/attrib.ML	Wed Feb 15 19:11:10 2006 +0100
+++ b/src/Pure/Isar/attrib.ML	Wed Feb 15 21:34:55 2006 +0100
@@ -238,8 +238,8 @@
     fun prepT (a, T) = (Thm.ctyp_of thy (TVar (a, the_sort sorts a)), Thm.ctyp_of thy T);
     fun prep (xi, t) = pairself (Thm.cterm_of thy) (Var (xi, Term.fastype_of t), t);
   in
-    Drule.instantiate (map prepT (gen_distinct (op =) envT),
-      map prep (gen_distinct (fn ((xi, t), (yj, u)) => xi = yj andalso t aconv u) env)) thm
+    Drule.instantiate (map prepT (distinct (op =) envT),
+      map prep (distinct (fn ((xi, t), (yj, u)) => xi = yj andalso t aconv u) env)) thm
   end;
 
 in