Yeah there are a couple API changes from Elm (I could emulate probably all of them, but eh, I made them for good reasons in most cases).
As for sending information ‘out’ of the app, right now you can just call an external, I’d not recommend calling it from your main loop and instead wrapping it in a command, but it is just fine to do it from within a command.
For pushing ‘in’ to the app the
pushMsg is the way to do it, that is very low level and I plan higher wrappers sometime (I’m even thinking of using subscriptions as ways of exposing outside commands with a better interface). Overall I prefer the web-standard method of marshalling data up and down, use standard HTML Events (something Elm seems to hate for whatever reason), I plan to make some really nice helpers around that in my enhanced Tea.
And yep, I wrapped the main very simply, something Elm should have done, it was just so simple to do it this way, and you can name it other things than ‘main’ as well, the name
main is not special in any way like it is in Elm.
You are welcome for sure! I use it at work in my own things but I like seeing others use it, plus more eyes on it means more ideas for it over time too!