src/HOL/Tools/hologic.ML
changeset 38548 dea0d2cca822
parent 37744 3daaf23b9ab4
child 38550 925c4d7b291e
--- a/src/HOL/Tools/hologic.ML	Thu Aug 19 10:27:02 2010 +0200
+++ b/src/HOL/Tools/hologic.ML	Thu Aug 19 10:27:12 2010 +0200
@@ -230,13 +230,13 @@
 
 fun disjuncts t = disjuncts_aux t [];
 
-fun dest_imp (Const("op -->",_) $ A $ B) = (A, B)
+fun dest_imp (Const ("op -->", _) $ A $ B) = (A, B)
   | dest_imp  t = raise TERM ("dest_imp", [t]);
 
 fun dest_not (Const ("Not", _) $ t) = t
   | dest_not t = raise TERM ("dest_not", [t]);
 
-fun eq_const T = Const ("op =", [T, T] ---> boolT);
+fun eq_const T = Const ("op =", T --> T --> boolT);
 fun mk_eq (t, u) = eq_const (fastype_of t) $ t $ u;
 
 fun dest_eq (Const ("op =", _) $ lhs $ rhs) = (lhs, rhs)