Nah, diagrammatic reasoning is part of it. Separate yourself from syntax.
Doodling on paper (or just mentally envisioning a data structure) is way more fun than writing actual code.
I certainly would dissuade the OP from trying Elm. Not as part of learning state machines at least. Too many things at once and not necessary.