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

Missing parens when inserting Range #8

Closed
manuscrypt opened this issue Nov 14, 2016 · 2 comments
Closed

Missing parens when inserting Range #8

manuscrypt opened this issue Nov 14, 2016 · 2 comments

Comments

@manuscrypt
Copy link

@av: I just tried to elm-upgrade a project (elm-color-extra, obvisouly not mine), and noticed this diff:

-            List.map2 (\i cl -> ( (toFloat i / toFloat l), cl )) [0..l] palette
+            List.map2 (\i cl -> ( (toFloat i / toFloat l), cl )) List.range 0 l palette

And the compiler complains about the number of arguments to map2.

@avh4
Copy link
Owner

avh4 commented Nov 14, 2016

Ah, this bug should go to -> https://github.com/avh4/elm-format/issues

@avh4
Copy link
Owner

avh4 commented Nov 14, 2016

Fixed in avh4/elm-format#271 will be in elm-format 0.5.1-alpha

@avh4 avh4 closed this as completed Nov 14, 2016
avh4 added a commit that referenced this issue Sep 3, 2018
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

No branches or pull requests

2 participants