Hi, I am new to Elm and I am trying to build a blog post website. Since this blog has many pages in general, I have views for every page. I am slightly confused with Msg here.
An example is:
view1: ModelA->Html AbcMsg
view2: ModelB -> Html Msg
div [ ]
The error I get is:
The div call produces:
But the annotation on view2 says it should be Html Msg
But when I try to add Html AbcMsg instead of Html Msg, it gives new errors. How can I resolve this?