Enum.split_while did not behave as advertised and provided the wrong API. Provide Enum.split_with instead