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 upAdded a fold function to Task. #423
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 11, 2015
Contributor
@ajevans85, please look at this conversation (and the CONTRIBUTING.md section linked to from there): https://github.com/elm-lang/core/pull/421#issuecomment-146932267.
If you want to suggest a Task.fold function for potential eventual inclusion in core, then start a new task-extras package, or look around for one to write a pull request for. Possibly http://package.elm-lang.org/packages/TheSeamau5/elm-task-extra/latest.
|
@ajevans85, please look at this conversation (and the If you want to suggest a |
jvoigtlaender
closed this
Oct 11, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ajevans85
Oct 11, 2015
I have created a task-utils package, it's a pitta to import it for 1 function. It's a trivial extremely useful function, pretty common + core in other langs/tools.
Duly noted, my time will be spent elsewhere if feature requests are just shut, because ...
ajevans85
commented
Oct 11, 2015
|
I have created a Duly noted, my time will be spent elsewhere if feature requests are just shut, because ... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 11, 2015
Contributor
Sorry you feel offended. It's just how extensions to core are meant to be organized here. Do you prefer having your pull request kept open but ignored? (And adding cognitive burden for @evancz, because there would be a pull request open here that he "has" to ignore because it is not meant to be open according to how he wants to organize extensions of core.)
If you feel this is an inappropriate strategy, maybe start a discussion on the mailing list?
|
Sorry you feel offended. It's just how extensions to If you feel this is an inappropriate strategy, maybe start a discussion on the mailing list? |
ajevans85 commentedOct 11, 2015
Added a fold function to Task making mapping on left/right simpler.