Syntactically, it's just like List Int. Msg is a type parameter of Html.
Semantically, Html is not a data structure. It's a somewhat magical thing that
can produce messages when the user interacts with it. The type parameter tells
you what those messages are.
--
You received this message
Exactly, it's a type parameter. Html is parameterized by the type of
messages the form can produce.
On Oct 8, 2016 9:25 AM, "Dave Ford" wrote:
> I understand this function signature:
>
> update: Msg -> Model -> Model
>
> to mean the function takes two inputs, a Msg and a