In a type signature, the parameter types are separated ->, with the last type being the return value.
If ->there are no characters , then this is the value of this type. In the example, the maintype mainis equal Program Never Model Msg. It has no arrows, so it does not accept any parameters.
, , main. - , , .
Program Never Model Msg
| | | |
| ------|-----
type type parameters
Generics #. # :
void Program<Never, Model, Msg>()
# , , .
Elm guide ,