Pattern matching is probably the best solution, you have to decide somewhere in your application what to do if you cant select a winner because there are no elements to select from. You can also do this:
{first, tail} = Enum.split(list, 1)
Enum.reduce(tail, List.first(first), fn ...)
I agree, we seem to have it for other functions, please open an issue or send a pull request.


















