Update readme.md (#129)

This commit is contained in:
Vincent Sisk 2016-12-20 10:10:35 -07:00 committed by Jethro Larson
parent b77effbd02
commit 02b0546772

View file

@ -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