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

Fix elixir 1.5 compile warnings #151

Merged
merged 1 commit into from
Jul 1, 2017
Merged

Conversation

joshuawscott
Copy link
Contributor

Howdy!

Mostly just replacing strip/lstrip/rstrip/to_char_list with the newer versions to fix Elixir 1.5 compile warnings. Also convert Enum.filter_map/3 to a list comprehension for the same reason.

@RobertDober RobertDober merged commit 8862c47 into pragdave:master Jul 1, 2017
@RobertDober
Copy link
Collaborator

Thanx a lot @joshuawscott
On a personal note I favor HO functions (as they are so universal in FP) over list comprehensions, kinda do not agree to be patronized on that issue, well that's how it goes...
thanx again

@joshuawscott
Copy link
Contributor Author

Sorry if you thought I was patronizing you, that was not at all what I was saying. I only made the change to silence the compiler warning. I would also personally prefer Enum.filter_map, but 🤷‍♂️ what can you do?

@RobertDober
Copy link
Collaborator

ooops I was too whiney. The compiler is patronizing me not you. I am very thankful for doing these necessary work for us.

@RobertDober
Copy link
Collaborator

BTW just installed 1.5.0 Compile and Test without a single warning.
Great Job.

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.

2 participants