src/HOL/Tools/datatype_prop.ML
changeset 24112 6c4e7d17f9b0
parent 24098 f1eb34ae33af
child 24699 c6674504103f
--- a/src/HOL/Tools/datatype_prop.ML	Wed Aug 01 16:55:39 2007 +0200
+++ b/src/HOL/Tools/datatype_prop.ML	Wed Aug 01 16:55:40 2007 +0200
@@ -7,7 +7,7 @@
 
 signature DATATYPE_PROP =
 sig
-  val distinctness_limit : int ConfigOption.T
+  val distinctness_limit : int Config.T
   val distinctness_limit_setup : theory -> theory
   val indexify_names: string list -> string list
   val make_tnames: typ list -> string list
@@ -41,7 +41,7 @@
 
 (*the kind of distinctiveness axioms depends on number of constructors*)
 val (distinctness_limit, distinctness_limit_setup) =
-  ConfigOption.int "datatype_distinctness_limit" 7;
+  Attrib.config_int "datatype_distinctness_limit" 7;
 
 fun indexify_names names =
   let
@@ -305,7 +305,7 @@
           end;
 
   in map (fn (((_, (_, _, constrs)), T), tname) =>
-      if length constrs < ConfigOption.get_thy thy distinctness_limit
+      if length constrs < Config.get_thy thy distinctness_limit
       then make_distincts_1 T constrs else [])
         ((hd descr) ~~ newTs ~~ new_type_names)
   end;