>
> Well, the problem is itemView can't be used , as it is 'Html ItemMsg', and 
> not 'Html Msg'
> However, the Item module doesn't have access to 'Msg' ( which is top level 
> ),
>

Whenever I run into that problem, I create a  separate file 
*MessageTypes.elm* with the Msg types in it and nothing else.

Then, all the other modules in the app import it, so that the Msg types are 
all available everywhere. Makes things much simpler.

module Main exposing (..)

import MessageTypes exposing (..)


-- 
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.

Reply via email to