Skip to content

Commit

Permalink
Minor typographical corrections (#56)
Browse files Browse the repository at this point in the history
* Minor typographical corrections

* Update spec.md

* your -> those
  • Loading branch information
1point7point4 authored and rpominov committed Aug 25, 2019
1 parent 775049a commit 0c55c15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ For example:
- Two functions are equivalent if they yield equivalent outputs for equivalent inputs.

Note that these examples are not universal, in some cases different
definitions of equivalense for that types might be more appropriate.
definitions of equivalence for those types might be more appropriate.
It depends on which exact abstractions you choose to use in a program.

We use `` symbol in laws to denote equivalence.
Expand All @@ -108,8 +108,7 @@ We use `≡` symbol in laws to denote equivalence.
## Parametricity

All methods' implementations should only use type information about arguments that is known from the signatures.
It's not allowed to inspect arguments or values that they produce
or contain to get more information about their types. In other words methods
Inspecting arguments or values that they produce or contain to get more information about their types is not allowed. In other words methods
should be [parametrically polymorphic](https://en.wikipedia.org/wiki/Parametric_polymorphism).


Expand Down

0 comments on commit 0c55c15

Please sign in to comment.