Lowercase "msg" is just a type parameter. It says that the first and second
occurence of "msg" in the type signature means the same type, whatever that
type it actually is.

If it was Sub Msg, Msg would be some actual type you would be forced to
work with.

Petr

On Thu, Oct 13, 2016 at 6:42 PM, António Ramos <ramstei...@gmail.com> wrote:

> I would like to know why Sub msg in lowercase in above code
>
> port suggestions : (List String -> msg) -> Sub msg
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to