equal
deleted
inserted
replaced
8 struct |
8 struct |
9 |
9 |
10 (* class specifications *) |
10 (* class specifications *) |
11 |
11 |
12 val _ = |
12 val _ = |
13 Theory.setup (Thy_Output.antiquotation @{binding class_spec} (Scan.lift Args.name) |
13 Theory.setup (Thy_Output.antiquotation_pretty @{binding class_spec} (Scan.lift Args.name) |
14 (fn ctxt => fn s => |
14 (fn ctxt => fn s => |
15 let |
15 let |
16 val thy = Proof_Context.theory_of ctxt; |
16 val thy = Proof_Context.theory_of ctxt; |
17 val class = Sign.intern_class thy s; |
17 val class = Sign.intern_class thy s; |
18 in Class.pretty_specification thy class end)); |
18 in Class.pretty_specification thy class end)); |