let rec idApp_of_list = function | [] -> assert false | [ i ] -> i | i :: is -> let _loc = loc_of_ident i in Ast.IdApp (_loc, i, (idApp_of_list is))