Task.perform never identity (Task.succeed NewMsg) with never from http://package.elm-lang.org/packages/elm-community/basics-extra
2016-05-25 8:53 GMT+02:00 Wil C <iam...@gmail.com>: > It turns out it doesn't. What's the correct way to do this? > > Wil > > On Tuesday, May 24, 2016 at 10:48:33 AM UTC-7, Janis Voigtländer wrote: >> >> This is not doing what you almost certainly think it does. >> >> >> 2016-05-24 18:44 GMT+02:00 Wil C <iam...@gmail.com>: >> >>> It's just an aside, in case someone searches for it. Here's how to make >>> new commands: >>> >>> Cmd.map (\_ -> NewMsg) Cmd.none >>> >>> It wasn't obvious to me. >>> >>> Wil >>> >>> -- >>> 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. >>> >> >> -- > 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.