elixir-lang/elixir — pull request #2859 by eksperimental (2014-10-29 12:35:28+00:00)
Title: Correct Enum.take, Enum.take_every, Stream.take, Stream.take_every

Correct Enum.take, Enum.take_every, Stream.take, Stream.take_every to accept proper nth/count values.

Make these functions deal:
* empty collections and directly return and empty list
* non-integer values for Enum.take and Stream.take
* negative and non-integer values for Enum.take_ever and Stream.take_every