Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument `Cmd.batch` #856
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
process-bot
Apr 24, 2017
Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
process-bot
commented
Apr 24, 2017
|
Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Jul 8, 2017
Member
This is documented in the dev branch. See https://github.com/elm-lang/core/blob/dev/src/Platform/Cmd.elm for details.
Thank you for the PR!
|
This is documented in the Thank you for the PR! |
fosskers commentedApr 24, 2017
•
edited
Edited 1 time
-
fosskers
edited Apr 24, 2017 (most recent)
From #799 and #730 , it has been noticed by multiple users that the execution order of a
List Cmdfolded byCmd.batchis not always the same as the order they were defined in the List. This might come from an unconscious assumption thatCmd.batchworks likesequence :: [IO a] -> IO [a]instead of like its async cousinTask.This PR documents the
Cmd.batchfunction to help avoid confusion for future users.