equal
deleted
inserted
replaced
499 val active = Attrib.setup_config_bool @{binding quickcheck_narrowing_active} (K true); |
499 val active = Attrib.setup_config_bool @{binding quickcheck_narrowing_active} (K true); |
500 |
500 |
501 val setup = |
501 val setup = |
502 Code.datatype_interpretation ensure_partial_term_of |
502 Code.datatype_interpretation ensure_partial_term_of |
503 #> Code.datatype_interpretation ensure_partial_term_of_code |
503 #> Code.datatype_interpretation ensure_partial_term_of_code |
504 #> Datatype.interpretation (Quickcheck_Common.ensure_sort_datatype |
504 #> Quickcheck_Common.datatype_interpretation (@{sort narrowing}, instantiate_narrowing_datatype) |
505 (((@{sort typerep}, @{sort term_of}), @{sort narrowing}), instantiate_narrowing_datatype)) |
|
506 #> Context.theory_map (Quickcheck.add_tester ("narrowing", (active, test_goals))) |
505 #> Context.theory_map (Quickcheck.add_tester ("narrowing", (active, test_goals))) |
507 |
506 |
508 end; |
507 end; |