avh4 / elm-upgrade

Upgrade Elm projects

Home Page:https://www.npmjs.com/package/elm-upgrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove definitions of =>

eeue56 opened this issue · comments

commented

In 0.19, => is coming into core. This would usually be fine, but there is a bug in Elm where an infix definition for a given symbol will treat that symbol as infix, regardless of the file it is in. We should remove all definitions of => and replace them with Tuple.(=>)

elm/compiler#1094

commented

Perhaps this should be taken care via elm-format.

We were just talking about this this morning, see also #24

We did this internally with a custom script. Does anyone outside of NoRedInk use => extensively?

Please re-open or comment here if you have a project that uses => extensively and would benefit from this feature.