equal
deleted
inserted
replaced
325 Some U => (check_has_sort(tsig, U, S); U) |
325 Some U => (check_has_sort(tsig, U, S); U) |
326 | None => TVar(var) |
326 | None => TVar(var) |
327 in map_type_tvar inst end; |
327 in map_type_tvar inst end; |
328 |
328 |
329 (*Instantiation of type variables in terms *) |
329 (*Instantiation of type variables in terms *) |
330 fun inst_term_tvars(tsig, tye) = map_term_types (inst_typ_tvars(tsig, tye)); |
330 fun inst_term_tvars (_,[]) t = t |
|
331 | inst_term_tvars arg t = map_term_types (inst_typ_tvars arg) t; |
331 |
332 |
332 |
333 |
333 (* norm_typ *) |
334 (* norm_typ *) |
334 |
335 |
335 fun norm_typ (TySg {abbrs, ...}) ty = |
336 fun norm_typ (TySg {abbrs, ...}) ty = |