html
html copied to clipboard
Recursive type alias in Html module's documentation
In the source code of the Html module the "Attribute msg" alias is declared as follows:
type alias Attribute msg = VirtualDom.Attribute msg
But in the documentation we see the following definition:
type alias Attribute msg = Attribute msg
It looks like the "Recursive type aliases" and may be confusing for newbies.