src/HOL/Tools/smallvalue_generators.ML
changeset 41472 f6ab14e61604
parent 41178 f4d3acf0c4cc
child 41861 77d87dc50e5a
equal deleted inserted replaced
41471:54a58904a598 41472:f6ab14e61604
   208       "Creation of smallvalue generators failed because the datatype contains a function type";
   208       "Creation of smallvalue generators failed because the datatype contains a function type";
   209     thy)
   209     thy)
   210 
   210 
   211 (** building and compiling generator expressions **)
   211 (** building and compiling generator expressions **)
   212 
   212 
   213 structure Counterexample = Proof_Data (
   213 structure Counterexample = Proof_Data
       
   214 (
   214   type T = unit -> int -> term list option
   215   type T = unit -> int -> term list option
       
   216   (* FIXME avoid user error with non-user text *)
   215   fun init _ () = error "Counterexample"
   217   fun init _ () = error "Counterexample"
   216 );
   218 );
   217 val put_counterexample = Counterexample.put;
   219 val put_counterexample = Counterexample.put;
   218 
   220 
   219 val target = "Quickcheck";
   221 val target = "Quickcheck";