wende / elchemy

Write Elixir code using statically-typed Elm-like syntax (compatible with Elm tooling)
https://wende.github.io/elchemy/
MIT License
1.15k stars 28 forks source link

Prepare for Elm 0.19 #348

Closed wende closed 6 years ago

wende commented 6 years ago

https://github.com/elm/compiler/blob/master/upgrade-docs/0.19.md

Mainly these two:

screen shot 2018-08-22 at 01 13 04 screen shot 2018-08-22 at 01 15 58
passiomatic commented 6 years ago

This is a great summary of minor changes: https://korban.net/posts/elm/2018-08-22-elm-019-whats-new-install-upgrade/

wende commented 6 years ago

@passiomatic Thank you! That already outlines a lot that's very important and I haven't seen mentioned anywhere

wende commented 6 years ago

Turns out things are much more complicated due to: https://github.com/gdotdesign/elm-github-install/issues/62

wende commented 6 years ago

One possible solution would be to include a binary of Elm's compiler in Elchemy (all we use is it's type checking right now) and ship it with Elchemy

In case elm-github-install gets discontinued we could inherit the package. As far as I understand we can still use it as long as the elm-package.json name get's changed to elm.json. If it's discontinued it might even become elchemy.json as far as I'm concerned

The only part which is really heartbreaking is to see elm core team backstab the community yet again

edgerunner commented 6 years ago

The only part which is really heartbreaking is to see elm core team backstab the community yet again

0.19 means they are technically entitled to that, but yeah, I see your point.

wende commented 6 years ago

We're staying with 0.18. Whenever you try to use Elchemy with 0.19 it will ask you to use correct Elm version.

Until we develop our own type checker we will run on Elm 0.18 only