elixir-lang/elixir — pull request #2414 by christhekeele (2014-06-16 22:22:20+00:00)
Title: Ensures Enum.slice always returns a list.

Both Enum.slice/3 and Enum.slice/2 now will return empty lists for
impossible or out of bound ranges, rather than `nil`.

Fixes #2410.