-- TYPE MISMATCH -------------------------------------------------- src/Main.elm
The 2nd argument to `button` is not what I expect:
217| , button []
218|> { onPress = ...
219|> , label = ...
220|> }
This argument is a record of type:
{ label : Element.Element msg, onPress : Maybe Msg }
But `button` needs the 2nd argument to be:
List (Html msg)
Hint: I always figure out the argument types from left to right. If an argument
is acceptable, I assume it is “correct” and move on. So the problem may actually
be in one of the previous arguments!
I think the error message should point out that button could be Html.button or Element.Input.button.
I think the error message should point out that button could be Html.button or Element.Input.button.