Skip to content

Commit dde9ec4

Browse files
Update docs on equivalence between gradual types (#1965)
Update docs about equivalence between gradual types to include that it is an equivalence relation
1 parent 6c3f990 commit dde9ec4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/spec/concepts.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ visualize this analogy in the following table:
298298
* - ``B`` is :term:`equivalent` to ``A``
299299
- ``B`` is :term:`consistent` with ``A``
300300

301-
We can also define equivalence on gradual types. Two gradual types ``A`` and
302-
``B`` are equivalent (that is, the same gradual type, not merely consistent
303-
with one another) if and only if all materializations of ``A`` are also
304-
materializations of ``B``, and all materializations of ``B`` are also
305-
materializations of ``A``.
301+
We can also define an **equivalence** relation on gradual types: the gradual
302+
types ``A`` and ``B`` are equivalent (that is, the same gradual type, not
303+
merely consistent with one another) if and only if all materializations of
304+
``A`` are also materializations of ``B``, and all materializations of ``B``
305+
are also materializations of ``A``.
306306

307307
Attributes and methods
308308
----------------------

0 commit comments

Comments
 (0)