I'm running elm-repl to play around with the language.
I'd like to see what the current time is. How would I do that? It doesn't appear to be possible with the current library. Why is that?
EDIT: I made a package to help with this. http://package.elm-lang.org/packages/z5h/time-app
This was asked around elm 0.15 - things are different in elm 0.17 & 0.18: see How do I get the current time in Elm 0.17/0.18?
To resolve my own question, I've created a variant of StartApp that includes a timestamp on each action.
So the update function has signature:
update : action -> Time -> model -> (model, Effects action)
The Gist is here. https://gist.github.com/z5h/41ca436679591b6c3e51