let rec list_of_module_binding x acc = match x with | Ast.MbAnd (_, x, y) -> list_of_module_binding x (list_of_module_binding y acc) | x -> x :: acc