On Thursday, September 22, 2016 at 2:26:12 PM UTC+1, Rupert Smith wrote: > > On Wednesday, September 21, 2016 at 3:02:51 PM UTC+1, Erik Lott wrote: >> >> Regarding the outmsg and translating types, you've got 2 options - you >> can either keep the outmsg in the scope of the module, or you can pass the >> outmsg to the update function from the upper level >> > > Thanks for that, nothing like an example to show how its done. >
I think for my Auth module, I am going to stick with the direct inter-module comms via messaging ports. Its less 'clean' but is really quite convenient and takes less wiring to put it together. But I will make the Auth module a special case and try the OutMsg approach next time I have to tackle this. -- 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.