made SML/NJ happier
authorblanchet
Thu, 15 Dec 2011 10:38:50 +0100
changeset 45887 bfb5234a70ba
parent 45886 728cc8553471
child 45888 66b419de5f38
made SML/NJ happier
src/HOL/Tools/ATP/atp_reconstruct.ML
--- a/src/HOL/Tools/ATP/atp_reconstruct.ML	Thu Dec 15 09:13:32 2011 +0100
+++ b/src/HOL/Tools/ATP/atp_reconstruct.ML	Thu Dec 15 10:38:50 2011 +0100
@@ -75,10 +75,11 @@
 open ATP_Proof
 open ATP_Translate
 
-structure String_Redirect =
-  ATP_Redirect(type key = step_name
-               val ord = fast_string_ord o pairself fst
-               val string_of = fst)
+structure String_Redirect = ATP_Redirect(
+    type key = step_name
+    val ord = fn ((s, _ : string list), (s', _)) => fast_string_ord (s, s')
+    val string_of = fst)
+
 open String_Redirect
 
 datatype reconstructor =