What does an explosion operator (or exclamation point) do in elms? I saw the application with init as follows:
init = emptyModel ! []
I tried to look in elm documents, but either there is no information, or I could not find it :)
Definition of the operator ! here .
!
It takes a model, a list of commands and returns a tuple (pair) with the model and one command, which is a batch all commands
batch