Oops, it looks like I missed this before my last post. Sorry about that, and thanks for clearing up my confusion!
On Wednesday, October 19, 2016 at 3:16:50 PM UTC+2, Rupert Smith wrote: > > On Wednesday, October 19, 2016 at 2:05:11 PM UTC+1, Rupert Smith wrote: >> >> On Wednesday, October 19, 2016 at 12:41:08 PM UTC+1, Austin Bingham wrote: >>> >>> I don't think I follow your logic. If my task produced a batch Cmd >>> somehow (I'm not even sure how I would do that) >>> >> >> You need to figure out how to do that. Look at the type signature of >> Cmd.batch - hint, it returns a single command which is actually a batch >> wrapper around a list of commands. >> > > Sorry, my bad. I am the one who should look more closely at the type > signatures: > > perform : (x -> msg) -> (a -> msg) -> Task x a -> Cmd msg > > Each outcome of the task produces a 'msg' which perform then turns into a > single Cmd. There is no way to tell it to produce a batch of Cmds. > -- 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.
