mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
Update readme.md (#129)
This commit is contained in:
parent
b77effbd02
commit
02b0546772
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ const predicate = (a) => a > 2
|
|||
|
||||
## Contracts
|
||||
|
||||
A contract specifies the obligations and guarentees of the behavior from a function or expression at runtime. This acts as a set of rules that are expected from the input and output of a function or expression, and errors are generally reported whenever a contract is violated.
|
||||
A contract specifies the obligations and guarantees of the behavior from a function or expression at runtime. This acts as a set of rules that are expected from the input and output of a function or expression, and errors are generally reported whenever a contract is violated.
|
||||
|
||||
```js
|
||||
// Define our contract : int -> int
|
||||
|
|
|
|||
Loading…
Reference in a new issue