Implement Enum.member? by meh · Pull Request #992 · elixir-lang/elixir

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, Please send a PR of they are still public!

On Wednesday, March 2, 2016, Oskar Boethius Lissheim <
notifications@github.com> wrote:

In lib/elixir/lib/enum.ex
#992 (comment):

@@ -1549,6 +1571,20 @@ defmodule Enum do
{ :lists.reverse(list_acc), acc }
end

  • member?

  • def do_member?(:stop, _, _) do

Shouldn't these funcs be defined as private (defp) like the others?


Reply to this email directly or view it on GitHub
https://github.com/elixir-lang/elixir/pull/992/files#r54798954.

José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D