Elm 0.19 does a great job of not compiling code in your Elm modules that you don’t actually use.
At the same time, there is a long convention of using
let expressions with
Debug.log to check the values of things during development:
let _ = Debug.log "what is this?" something in div  
The above code will render an empty
div, but will also log the message to the browser console.
My question is: does Elm 0.19’s dead code elimination ever optimize out
let expressions like the one above? Perhaps when building with
Debug.log is not allowed, of course)?
I’m wondering if leaving unused
let expressions lying around bloats the compiled output, or if the compiler cleans them up along with any other unreferenced functions in the module.