let rec meApp_of_list =
function
| [] -> assert false
| [ x ] -> x
| x :: xs ->
let _loc = loc_of_module_expr x
in Ast.MeApp (_loc, x, (meApp_of_list xs))