equal
deleted
inserted
replaced
148 |
148 |
149 fun add_eval_constr (const, const') thy = |
149 fun add_eval_constr (const, const') thy = |
150 let |
150 let |
151 val k = Code.args_number thy const; |
151 val k = Code.args_number thy const; |
152 fun pr pr' fxy ts = Code_Printer.brackify fxy |
152 fun pr pr' fxy ts = Code_Printer.brackify fxy |
153 (const' :: the_list (Code_ML.print_tuple pr' Code_Printer.BR (map fst ts))); |
153 (const' :: the_list (Code_Printer.tuplify pr' Code_Printer.BR (map fst ts))); |
154 in |
154 in |
155 thy |
155 thy |
156 |> Code_Target.add_syntax_const target const (SOME (Code_Printer.simple_const_syntax (k, pr))) |
156 |> Code_Target.add_syntax_const target const (SOME (Code_Printer.simple_const_syntax (k, pr))) |
157 end; |
157 end; |
158 |
158 |