2016-11-22 4:04 GMT+01:00 Charlie Koster <ckoste...@gmail.com>: I don't see any reason why not have a function in Task that takes a msg and > returns a Cmd msg.
One reason is what Evan says at https://github.com/elm-lang/core/blob/master/CONTRIBUTING.md#adding-new-functions: new functions are not so quickly expected to go into core, instead to be accumulated in *-extra packages first. The function you want exists in such a package: http://package.elm-lang.org/packages/shmookey/cmd-extra/1.0.0/Cmd-Extra#message. So maybe the best action at the moment is to get that package updated for Elm 0.18. -- 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.