Elm's Never type and Html.map
I’ve written before regarding the conflict between using Elm’s Html.lazy and extensible records. Today I wish to highlight a similar mild conflict between Elm’s Never type and Html types that forces an unnecessary Html.map. To explain this though I may as well briefly explain the Never type in Elm, and how it is used in the context of the Html type. So I will start with that, and then I’ll show why the type system forces us to call Html.map in a situation where it’s not at all necessary. ...