equal
deleted
inserted
replaced
176 |> (#1 o PureThy.add_thmss [(("simps", simps), [Simplifier.simp_add_global])]) |
176 |> (#1 o PureThy.add_thmss [(("simps", simps), [Simplifier.simp_add_global])]) |
177 |> DatatypesData.put |
177 |> DatatypesData.put |
178 (Symtab.update |
178 (Symtab.update |
179 ((big_rec_name, dt_info), DatatypesData.get thy)) |
179 ((big_rec_name, dt_info), DatatypesData.get thy)) |
180 |> ConstructorsData.put |
180 |> ConstructorsData.put |
181 (Library.foldr Symtab.update (con_pairs, ConstructorsData.get thy)) |
181 (foldr Symtab.update (ConstructorsData.get thy) con_pairs) |
182 |> Theory.parent_path |
182 |> Theory.parent_path |
183 end; |
183 end; |
184 |
184 |
185 fun rep_datatype raw_elim raw_induct raw_case_eqns raw_recursor_eqns thy = |
185 fun rep_datatype raw_elim raw_induct raw_case_eqns raw_recursor_eqns thy = |
186 let |
186 let |