Rule 134e-task-andthen-fail
Task Reduction
(134)
Comments
TeX source
\defnrule[r:e-task-andthen-fail]
{}
{\effandThen(v,\efffail\,v')\effred{}\efffail\,v'}Tests (2)
- elm / MinimalTaskAndThenFailTestA task chained after a task that fails fails with the same error.
- elm-core / TaskOnErrorCascadeTest`Task.onError` recovers a failed `Task.andThen` chain, skipping the steps between the failure and the handler, and the recovered task can be chained further.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:e-task-andthen-fail] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.