let intern_let_env pos tenv rs fs = let fqs, rtenv = fresh_flexible_vars pos tenv fs in let rqs, rtenv' = fresh_rigid_vars pos tenv rs in rqs, fqs, add_type_variables (rtenv @ rtenv') tenv