Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Implement Enum.member?#992

Merged
josevalim merged 1 commit intoelixir-lang:masterelixir-lang/elixir:masterfrom
meh:enum-membermeh/elixir:enum-memberCopy head branch name to clipboard
Apr 29, 2013
Merged

Implement Enum.member?#992
josevalim merged 1 commit intoelixir-lang:masterelixir-lang/elixir:masterfrom
meh:enum-membermeh/elixir:enum-memberCopy head branch name to clipboard

Conversation

@meh
Copy link
Contributor

@meh meh commented Apr 29, 2013

No description provided.

josevalim pushed a commit that referenced this pull request Apr 29, 2013
@josevalim josevalim merged commit 6c0d43c into elixir-lang:master Apr 29, 2013
@meh meh deleted the enum-member branch April 29, 2013 15:59

## member?

def do_member?(:stop, _, _) do
Copy link

Choose a reason for hiding this comment

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

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

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.