Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 - List.without #8

Merged
merged 1 commit into from
Jul 17, 2015
Merged

4 - List.without #8

merged 1 commit into from
Jul 17, 2015

Conversation

austinschwartz
Copy link

fixes #4

I think this is a great idea. I'd love to contribute! 😺

mykewould added a commit that referenced this pull request Jul 17, 2015
@mykewould mykewould merged commit 83e750c into mykewould:master Jul 17, 2015
@mykewould
Copy link
Owner

+1
I'm really glad you like it!

Another way of writing it, which I didn't know about until recently (again, thanks scrogson)

Enum.filter(collection, (&(!Enum.member?(elements, &1))))

You may have already known that. I don't personally have a preference, just thought I'd share.

@austinschwartz
Copy link
Author

I didn't know about that, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array#without => List.without
2 participants