Update for Elm 0.19
Elm 0.19 has removed the exclamation point operator. You must now construct the tuple manually, as in (model, Cmd.none)
.
Original Answer for Elm 0.18
The exclamation point in model ! []
is just a short-hand function for (model, Cmd.batch [])
, which is the type returned from typical update
statements. It is defined here