made sml/nj happy
authorpaulson
Thu, 16 Dec 2010 12:05:00 +0000
changeset 41193 dc33b8ea4526
parent 41169 95167879f675
child 41194 9796e5e01b61
made sml/nj happy
src/HOL/Tools/SMT/smt_normalize.ML
src/HOL/Tools/SMT/smt_translate.ML
src/HOL/Tools/SMT/z3_proof_parser.ML
--- a/src/HOL/Tools/SMT/smt_normalize.ML	Wed Dec 15 17:14:44 2010 +0100
+++ b/src/HOL/Tools/SMT/smt_normalize.ML	Thu Dec 16 12:05:00 2010 +0000
@@ -586,7 +586,7 @@
   type T = extra_norm U.dict
   val empty = []
   val extend = I
-  val merge = U.dict_merge fst
+  fun merge xx = U.dict_merge fst xx
 )
 
 fun add_extra_norm (cs, norm) = Extra_Norms.map (U.dict_update (cs, norm))
--- a/src/HOL/Tools/SMT/smt_translate.ML	Wed Dec 15 17:14:44 2010 +0100
+++ b/src/HOL/Tools/SMT/smt_translate.ML	Thu Dec 16 12:05:00 2010 +0000
@@ -588,7 +588,7 @@
   type T = (Proof.context -> config) U.dict
   val empty = []
   val extend = I
-  val merge = U.dict_merge fst
+  fun merge xx = U.dict_merge fst xx
 )
 
 fun add_config (cs, cfg) = Configs.map (U.dict_update (cs, cfg))
--- a/src/HOL/Tools/SMT/z3_proof_parser.ML	Wed Dec 15 17:14:44 2010 +0100
+++ b/src/HOL/Tools/SMT/z3_proof_parser.ML	Thu Dec 16 12:05:00 2010 +0000
@@ -404,7 +404,7 @@
 val rule_arg = id
   (* if this is modified, then 'th_lemma_arg' needs reviewing *)
 
-val th_lemma_arg = Scan.unless (sep rule_arg >> K "" || $$ rbra) (sep name)
+fun th_lemma_arg st = Scan.unless (sep rule_arg >> K "" || $$ rbra) (sep name) st
 
 fun rule_name st = ((name >> `(Symtab.lookup rule_names)) :|-- (fn 
     (SOME (Th_Lemma _), _) => Scan.repeat th_lemma_arg >> Th_Lemma