src/Pure/Proof/extraction.ML
changeset 77851 ec50b9213969
parent 77825 61f652dd955a
child 77866 3bd1aa2f3517
--- a/src/Pure/Proof/extraction.ML	Fri Apr 14 22:08:16 2023 +0200
+++ b/src/Pure/Proof/extraction.ML	Fri Apr 14 22:19:28 2023 +0200
@@ -279,7 +279,7 @@
 val add_typeof_eqns = gen_add_typeof_eqns read_condeq;
 
 fun thaw (T as TFree (a, S)) =
-      if exists_string (fn s => s = ":") a then TVar (unpack_ixn a, S) else T
+      if member_string a ":" then TVar (unpack_ixn a, S) else T
   | thaw (Type (a, Ts)) = Type (a, map thaw Ts)
   | thaw T = T;