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.4It should be a drop-in replacement for any 0.19.x compiler.
Improvements
The two big areas of improvement in this version are:
- Error message quality for records. The order of fields should match the order you wrote in your
type aliasmore 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 inpsqlandsqlite3, so these improvements come to Elm as a consequence.) - 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!