src/HOL/Tools/Nitpick/minipick.ML
changeset 34121 5e831d805118
parent 33980 a28733ef3a82
child 34124 c4628a1dcf75
--- a/src/HOL/Tools/Nitpick/minipick.ML	Mon Dec 14 12:14:12 2009 +0100
+++ b/src/HOL/Tools/Nitpick/minipick.ML	Mon Dec 14 12:30:26 2009 +0100
@@ -232,7 +232,7 @@
        | Const (@{const_name snd}, _) => raise SAME ()
        | Const (_, @{typ bool}) => atom_from_formula (to_F Ts t)
        | Free (x as (_, T)) =>
-         Rel (arity_of RRep card T, find_index (equal x) frees)
+         Rel (arity_of RRep card T, find_index (curry (op =) x) frees)
        | Term.Var _ => raise NOT_SUPPORTED "schematic variables"
        | Bound j => raise SAME ()
        | Abs (_, T, t') =>