a -> Platform.Cmd.Cmd msg
A function from a model to a Cmd.
Basically there are times where you want to
have a side effect on the world if the model
has a certain shape. Respond
facilitates
this use case.
append : Respond msg a -> Respond msg a -> a -> Platform.Cmd.Cmd msg
sum : List (Respond msg a) -> a -> Platform.Cmd.Cmd msg
zero : Respond msg a
comap : (b -> a) -> Respond msg a -> Respond msg b
Add a function to the front
b -> a >> a -> Cmd msg