Re: [elm-discuss] Task.perform stops working when performed from an imported module

2016-10-10 Thread Max Goldstein
Well... what was the problem?

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


Re: [elm-discuss] Task.perform stops working when performed from an imported module

2016-10-10 Thread Dan C
I figured it out! Thanks for replying.

On Monday, October 10, 2016 at 12:05:57 PM UTC-4, Peter Damoc wrote:
>
> Do you have a SSCCE  of this issue? 
>
>
>
> On Mon, Oct 10, 2016 at 6:52 PM, Dan C > 
> wrote:
>
>> I have a modular Elm 0.17 module A that imports a module B. 
>>
>> Module B can work independently as an Elm app. It includes several 
>> `Task.perform` calls, such as `Dom.focus : Id -> Task Error ()`
>>
>> All this works fine when Module B is working as a standalone Elm app.
>>
>> However, when I import Module B to embed it as a subcomponent in module 
>> A, everything works fine, EXCEPT the `Task.perform` calls, which apparently 
>> get initiated, but never return into the system as Msg messages.
>>
>> Does anyone have any suggestions?
>>
>>
>>
>> -- 
>> 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...@googlegroups.com .
>> 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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Task.perform stops working when performed from an imported module

2016-10-10 Thread Peter Damoc
Do you have a SSCCE  of this issue?



On Mon, Oct 10, 2016 at 6:52 PM, Dan C  wrote:

> I have a modular Elm 0.17 module A that imports a module B.
>
> Module B can work independently as an Elm app. It includes several
> `Task.perform` calls, such as `Dom.focus : Id -> Task Error ()`
>
> All this works fine when Module B is working as a standalone Elm app.
>
> However, when I import Module B to embed it as a subcomponent in module A,
> everything works fine, EXCEPT the `Task.perform` calls, which apparently
> get initiated, but never return into the system as Msg messages.
>
> Does anyone have any suggestions?
>
>
>
> --
> 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.
>



-- 
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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Task.perform stops working when performed from an imported module

2016-10-10 Thread Dan C
I have a modular Elm 0.17 module A that imports a module B. 

Module B can work independently as an Elm app. It includes several 
`Task.perform` calls, such as `Dom.focus : Id -> Task Error ()`

All this works fine when Module B is working as a standalone Elm app.

However, when I import Module B to embed it as a subcomponent in module A, 
everything works fine, EXCEPT the `Task.perform` calls, which apparently 
get initiated, but never return into the system as Msg messages.

Does anyone have any suggestions?



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