equal
deleted
inserted
replaced
204 |
204 |
205 fun compile_generator_expr ctxt t = |
205 fun compile_generator_expr ctxt t = |
206 let |
206 let |
207 val Ts = (map snd o fst o strip_abs) t; |
207 val Ts = (map snd o fst o strip_abs) t; |
208 val thy = ProofContext.theory_of ctxt |
208 val thy = ProofContext.theory_of ctxt |
209 in if Quickcheck.report ctxt then |
209 in if Config.get ctxt Quickcheck.report then |
210 error "Compilation with reporting facility is not supported" |
210 error "Compilation with reporting facility is not supported" |
211 else |
211 else |
212 let |
212 let |
213 val t' = mk_generator_expr thy t Ts; |
213 val t' = mk_generator_expr thy t Ts; |
214 val compile = Code_Runtime.dynamic_value_strict |
214 val compile = Code_Runtime.dynamic_value_strict |