src/HOL/Tools/Sledgehammer/sledgehammer_isar.ML
changeset 54546 8b403a7a8c44
parent 54503 b490e15a5e19
child 54816 10d48c2a3e32
     1.1 --- a/src/HOL/Tools/Sledgehammer/sledgehammer_isar.ML	Wed Nov 20 23:14:06 2013 +0100
     1.2 +++ b/src/HOL/Tools/Sledgehammer/sledgehammer_isar.ML	Thu Nov 21 12:29:29 2013 +0100
     1.3 @@ -187,10 +187,7 @@
     1.4  structure Data = Theory_Data
     1.5  (
     1.6    type T = raw_param list
     1.7 -  val empty =
     1.8 -    default_default_params
     1.9 -    |> getenv "SLEDGEHAMMER_SPY" = "yes" ? AList.update (op =) ("spy", "true")
    1.10 -    |> map (apsnd single)
    1.11 +  val empty = default_default_params |> map (apsnd single)
    1.12    val extend = I
    1.13    fun merge data : T = AList.merge (op =) (K true) data
    1.14  )
    1.15 @@ -265,7 +262,7 @@
    1.16      val debug = mode <> Auto_Try andalso lookup_bool "debug"
    1.17      val verbose = debug orelse (mode <> Auto_Try andalso lookup_bool "verbose")
    1.18      val overlord = lookup_bool "overlord"
    1.19 -    val spy = lookup_bool "spy"
    1.20 +    val spy = getenv "SLEDGEHAMMER_SPY" = "yes" orelse lookup_bool "spy"
    1.21      val blocking =
    1.22        Isabelle_Process.is_active () orelse mode <> Normal orelse debug orelse
    1.23        lookup_bool "blocking"