Rule 136e-task-onerror-succeed
Task Reduction
(136)
Referred to from
- The comment on rule
e-task-andthen-fail(Chapter 8)
TeX source
\defnrule[r:e-task-onerror-succeed]
{}
{\effonError(v,\effsucceed\,v')\effred{}\effsucceed\,v'}Tests (3)
- elm / MinimalTaskOnErrorSucceedTestAn error handler is not used when the task succeeds.
- elm-core / TaskOnErrorInnerTest`Task.onError` lets its task take steps before it succeeds or fails.
- elm-core / TaskOnErrorSucceedTest`Task.onError` on a task that succeeds gives that task's value; the handler is not called.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:e-task-onerror-succeed] 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.