src/HOL/Tools/record.ML
changeset 33039 5018f6a76b3f
parent 33029 2fefe039edf1
parent 33038 8f9594c31de4
child 33049 c38f02fdf35d
     1.1 --- a/src/HOL/Tools/record.ML	Wed Oct 21 16:41:22 2009 +1100
     1.2 +++ b/src/HOL/Tools/record.ML	Wed Oct 21 08:16:25 2009 +0200
     1.3 @@ -1834,7 +1834,7 @@
     1.4      val extN = full bname;
     1.5      val types = map snd fields;
     1.6      val alphas_fields = fold Term.add_tfree_namesT types [];
     1.7 -    val alphas_ext = alphas inter alphas_fields;
     1.8 +    val alphas_ext = inter (op =) (alphas, alphas_fields);
     1.9      val len = length fields;
    1.10      val variants =
    1.11        Name.variant_list (moreN :: rN :: (rN ^ "'") :: wN :: parent_variants)