Everything in Elm is immutable or is it

Interesting stuff.
I’ve noticed Elm’s generated JS generally uses very old-school ES3 syntax. I assume it’s to maximise browser compatibility. There are no other instances of let, only var with function scope. So to fit better with the rest of the codebase it might be an idea to replace the let with an immediately invoked function expression.
Although if I’m right about this then I guess it will come up on the GitHub issue!