-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Drop Elixir 1.12 #1504
Drop Elixir 1.12 #1504
Conversation
Thank you for contributing to Based on the files changed in this PR, it would be good to pay attention to the following details when reviewing the PR:
Automated comment created by PR Commenter 🤖. |
d2467ad
to
ce88921
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you for doing the work!
I grepped for "1.10" and saw a couple more places that we could clean up (in exercises/concept/secrets/.meta/exemplar.ex
, exercises/practice/bottle-song/mix.exs
and exercises/practice/word-count/.meta/example.ex
where we can replace frequencies()
by Enum.frequencies()
).
I grepped for "1.11" and saw a note in exercises/concept/paint-by-number/.docs/instructions.md
we can clean up too.
bin/bootstrap_practice_exercise.exs
Outdated
@@ -167,8 +167,7 @@ defmodule #{module}.MixProject do | |||
[ | |||
app: :#{exercise_snake_case}, | |||
version: "0.1.0", | |||
# elixir: "~> 1.10", | |||
start_permanent: Mix.env() == :prod, | |||
start_permanent: Mix.env() == :prod, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs formatting, it's not automated because it's a string.
@@ -4,7 +4,7 @@ defmodule PaintByNumber do | |||
end | |||
|
|||
defp do_palette_bit_size(color_count, bits \\ 1) do | |||
if Math.pow(2, bits) >= color_count do | |||
if Integer.pow(2, bits) >= color_count do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
Fixed! thank you for finding the remaining problems 😇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great :)
See #1503 (comment)