equal
deleted
inserted
replaced
232 |
232 |
233 |
233 |
234 (** document antiquotation **) |
234 (** document antiquotation **) |
235 |
235 |
236 val antiq_setup = |
236 val antiq_setup = |
237 Thy_Output.antiquotation @{binding datatype} (Args.type_name true) |
237 Thy_Output.antiquotation @{binding datatype} (Args.type_name {proper = false, strict = true}) |
238 (fn {source = src, context = ctxt, ...} => fn dtco => |
238 (fn {source = src, context = ctxt, ...} => fn dtco => |
239 let |
239 let |
240 val thy = Proof_Context.theory_of ctxt; |
240 val thy = Proof_Context.theory_of ctxt; |
241 val (vs, cos) = the_spec thy dtco; |
241 val (vs, cos) = the_spec thy dtco; |
242 val ty = Type (dtco, map TFree vs); |
242 val ty = Type (dtco, map TFree vs); |