github elm/compiler 0.19.4-beta

pre-release3 hours ago

Please give the binaries a try and let me know how it goes!

curl -L -o elm-0.19.4.gz https://github.com/elm/compiler/releases/download/0.19.4-beta/elm-0.19.4-mac-arm.gz
gzip -d elm-0.19.4.gz
chmod +x elm-0.19.4
./elm-0.19.4

It should be a drop-in replacement for any 0.19.x compiler.

Improvements

The two big areas of improvement in this version are:

  1. Error message quality for records. The order of fields should match the order you wrote in your type alias more often now. There are also some cosmetic changes to emphasize field mismatches and deemphasize fields that are the same. (Field order is more important in Acadia since it determines column order in psql and sqlite3, so these improvements come to Elm as a consequence.)
  2. Compiler speed. It looks like this version is 35% faster than 0.19.1 on my 850k line test application! Elapsed time went from ~3 seconds with 0.19.1 down to ~2 seconds with 0.19.4. I am curious if people observe any speed ups, so please let me know!

The changes are pretty extensive internally, so please let me know if you notice anything weird! I am expecting to do the real release in December (after a bunch of talks and guest lectures) so we have time to track any weird things down!

Don't miss a new compiler release

NewReleases is sending notifications on new releases.