24997 (8) [Avatar] Offline
#1
"In Elm, a function body is a single expression"

That, in my opinion, should be in a special note with emphasis. I could not figure out what was wrong in my code from the compiler error message when I inserted a Debug.log "main" in an existing code example after the "main" label and the existing expression.

I didn't see any mention of that in the Elm syntax guide

http://elm-lang.org/docs/syntax#functions

and I think it should be added.
rtfeldman (54) [Avatar] Offline
#2
Thanks for the feedback! I'll pass that along. smilie