File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -270,9 +270,10 @@ function's author—the function's **contract**:
270270- The precondition describes which calls to a function should be
271271 considered valid.
272272- The postcondition specifies only the function's _ intended_ behaviors
273- _ when correctly invoked_ . Details such as the precise order of equivalent
274- elements after an unstable sort, or what happens when preconditions
275- are violated, are omitted.
273+ _ when correctly invoked_ and _ successful_ . Details such as the precise
274+ order of equivalent elements after an unstable sort, what happens when
275+ preconditions are violated, or which errors are reported (more on this
276+ in the next chapter) are omitted.
276277- It is general—describing the result for all inputs the author
277278 intends to support—so it can be applied in reasoning about any call
278279 to the function.
You can’t perform that action at this time.
0 commit comments