Adventures in Elm - First Person Elm with StartApp
I've (finally) modified evancz/first-person-elm to follow The Elm Architecture, in particular using evancz/start-app; it's on display at genthaler/first-person-elm.
I've started a pull request for this; we'll see what Evan thinks.
The main takeaways from this were:
- I miss having an introspecting, interactive debugger. It's something one gets quite used to with Java, and even JavaScript. If the debugger was available, using Debug.watch() might be OK, but because of the hopefully momentary incompatibility between the debugger and
ports, that's not an option. So I'm reduced to the equivalent of the printf() statement that I was using in C thirty-odd years ago (viz. Debug.log()). - I've no idea how to write an automated test for this. I don't think I'm alone.
- Thanks to Evan for making this available in the first place.
- Thanks to lepoetemaudit for lepoetemaudit/elm-terrain, which helped a great deal with restructuring.