equal
deleted
inserted
replaced
95 let |
95 let |
96 val _ = if Sign.declared_tyname (Proof_Context.theory_of ctxt) tyco then () |
96 val _ = if Sign.declared_tyname (Proof_Context.theory_of ctxt) tyco then () |
97 else error ("No such type constructor: " ^ quote tyco); |
97 else error ("No such type constructor: " ^ quote tyco); |
98 in tyco end; |
98 in tyco end; |
99 |
99 |
100 fun read_tyco ctxt = #1 o dest_Type |
100 fun read_tyco ctxt = |
101 o Proof_Context.read_type_name_proper ctxt true; |
101 #1 o dest_Type o Proof_Context.read_type_name ctxt {proper = true, strict = true}; |
102 |
102 |
103 fun cert_class ctxt class = |
103 fun cert_class ctxt class = |
104 let |
104 let |
105 val _ = Axclass.get_info (Proof_Context.theory_of ctxt) class; |
105 val _ = Axclass.get_info (Proof_Context.theory_of ctxt) class; |
106 in class end; |
106 in class end; |