> Otherwise, it will dwindle away soon into the endless annals of forgotten languages.
The opportunity I perceive for Elm to avoid this fate is Phoenix adopting it in the default new project, in a similar fashion to Rails adopting CoffeeScript.
The opportunity I perceive for Elm to avoid this fate is Phoenix adopting it in the default new project, in a similar fashion to Rails adopting CoffeeScript.
ES2015+ is the CoffeeScript of Phoenix.
And like moosingin3space says, Elm support is just a plugin away.
There is already at least a start at a Erlang Javascript parse transform: https://synrc.github.io/shen/
The same reason Rails would use CS instead of Ruby -- its a lot less work to leverage an existing front-end language than to build a rock solid compile-to-JS option for your existing backend language.
I bet Phoenix will not make a so heavy choice on frontend and keep the default to vanilla js.