Slide 24
Slide 24 text
-- TYPE MISMATCH -----------------------------------------------
The type annotation for `update` does not match its definition.
50| update : Msg -> Model -> Model
^^^^^^^^^^^^^^^^^^^^^
The type annotation is saying:
Msg -> Model -> { disableSend : Bool, inputField : String }
But I am inferring that the definition has this type:
Msg -> Model -> ( Model, Cmd a )