let rec ty_var_list_of_ctyp = function | Ast.TyApp (_, t1, t2) -> (ty_var_list_of_ctyp t1) @ (ty_var_list_of_ctyp t2) | Ast.TyQuo (_, s) -> [ s ] | _ -> assert false