equal
deleted
inserted
replaced
256 |
256 |
257 fun lookup_type (TSig {types = (_, types), ...}) = Symtab.lookup types; |
257 fun lookup_type (TSig {types = (_, types), ...}) = Symtab.lookup types; |
258 |
258 |
259 fun the_decl tsig (c, pos) = |
259 fun the_decl tsig (c, pos) = |
260 (case lookup_type tsig c of |
260 (case lookup_type tsig c of |
261 NONE => error (undecl_type c ^ Position.str_of pos) |
261 NONE => error (undecl_type c ^ Position.here pos) |
262 | SOME decl => decl); |
262 | SOME decl => decl); |
263 |
263 |
264 |
264 |
265 (* certified types *) |
265 (* certified types *) |
266 |
266 |