686 fun upd_bind (ctxt, ((x, i), t)) = |
686 fun upd_bind (ctxt, ((x, i), t)) = |
691 else Var ((x ^ "_has_extra_type_vars_on_rhs_", i), T); |
691 else Var ((x ^ "_has_extra_type_vars_on_rhs", i), T); |
695 |> map_context (fn (thy, data, asms, binds, thms, cases, defs) => |
695 |> map_context (fn (thy, data, asms, binds, thms, cases, defs) => |
696 (thy, data, asms, Vartab.update (((x, i), Some (t', T)), binds), thms, cases, defs)) |
696 (thy, data, asms, Vartab.update (((x, i), Some (t', T)), binds), thms, cases, defs)) |