Msg is like the Int in your description, it is a concrete type. `Html` and `Sub` are type constructors that take `Msg` and produce concrete types.
On Mon, May 30, 2016 at 1:25 PM, Peter Kohout <[email protected]> wrote: > Really struggling with this question. > We can have Html Msg and Sub Msg. > coming from some haskell background can I think of Msg as Maybe ie data > Maybe a = Nothing | Just a or as Int > Thanking in advace. > > > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
