src/HOL/Tools/Nitpick/nitpick_mono.ML
changeset 67405 e9ab4ad7bd15
parent 67399 eab6ce8368fa
child 69593 3dda49e08b9d
--- a/src/HOL/Tools/Nitpick/nitpick_mono.ML	Thu Jan 11 12:32:07 2018 +0100
+++ b/src/HOL/Tools/Nitpick/nitpick_mono.ML	Thu Jan 11 13:48:17 2018 +0100
@@ -574,7 +574,7 @@
         (* use the first ML solver (to avoid startup overhead) *)
         val (ml_solvers, nonml_solvers) =
           SAT_Solver.get_solvers ()
-          |> List.partition (member (=) ["dptsat", "cdclite"] o fst)
+          |> List.partition (member (op =) ["dptsat", "cdclite"] o fst)
         val res =
           if null nonml_solvers then
             Timeout.apply tac_timeout (snd (hd ml_solvers)) prop
@@ -604,7 +604,7 @@
   string_for_mtype (nth Ms (length Ms - j - 1))
 
 fun string_for_free relevant_frees ((s, _), M) =
-  if member (=) relevant_frees s then SOME (s ^ " : " ^ string_for_mtype M)
+  if member (op =) relevant_frees s then SOME (s ^ " : " ^ string_for_mtype M)
   else NONE
 
 fun string_for_mcontext ctxt t ({bound_Ms, frame, frees, ...} : mcontext) =