let rec exCom_of_list = function | [] -> Ast.ExNil ghost | [ x ] -> x | x :: xs -> let _loc = loc_of_expr x in Ast.ExCom (_loc, x, (exCom_of_list xs))