src/HOL/SMT/Tools/smt_solver.ML
changeset 36001 992839c4be90
parent 35153 5e8935678ee4
child 36081 70deefb6c093
--- a/src/HOL/SMT/Tools/smt_solver.ML	Sun Mar 28 16:13:29 2010 +0200
+++ b/src/HOL/SMT/Tools/smt_solver.ML	Sun Mar 28 16:59:06 2010 +0200
@@ -79,13 +79,13 @@
 
 (* SMT options *)
 
-val (timeout, setup_timeout) = Attrib.config_int "smt_timeout" 30
+val (timeout, setup_timeout) = Attrib.config_int "smt_timeout" (K 30)
 
 fun with_timeout ctxt f x =
   TimeLimit.timeLimit (Time.fromSeconds (Config.get ctxt timeout)) f x
   handle TimeLimit.TimeOut => raise SMT "timeout"
 
-val (trace, setup_trace) = Attrib.config_bool "smt_trace" false
+val (trace, setup_trace) = Attrib.config_bool "smt_trace" (K false)
 
 fun trace_msg ctxt f x =
   if Config.get ctxt trace then tracing (f x) else ()
@@ -93,7 +93,7 @@
 
 (* SMT certificates *)
 
-val (record, setup_record) = Attrib.config_bool "smt_record" true
+val (record, setup_record) = Attrib.config_bool "smt_record" (K true)
 
 structure Certificates = Generic_Data
 (