elixir-lang/elixir — pull request #2917 by jw2013 (2014-12-05 05:21:54+00:00)
Title: Enum.sample/1 should raise if the list is empty

This fix the Enum.sample/1 issue discussed in #2916.