Fixes for new Isabelle
authorCezary Kaliszyk <kaliszyk@in.tum.de>
Thu, 06 May 2010 14:13:35 +0200
changeset 2074 1c866b53eb3c
parent 2073 2bfd5be8578a
child 2075 c1edd05f207f
Fixes for new Isabelle
Nominal/NewAlpha.thy
--- a/Nominal/NewAlpha.thy	Thu May 06 14:13:05 2010 +0200
+++ b/Nominal/NewAlpha.thy	Thu May 06 14:13:35 2010 +0200
@@ -87,7 +87,7 @@
   val t = Syntax.check_term lthy alpha_gen_ex
 in
   case binds of
-    [(SOME bn, i)] => if i mem bodys then [t]
+    [(SOME bn, i)] => if member (op =) bodys i then [t]
       else [t, ((the (AList.lookup (op=) bn_alphabn bn)) $ nth args i $ nth args2 i)]
     | _ => [t]
 end