Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdde9ec4

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 parent6c3f990 commitdde9ec4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎docs/spec/concepts.rst

Lines changed: 5 additions & 5 deletions
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 equivalenceon gradual types. Two gradualtypes ``A`` and
302-
``B`` are equivalent (that is, the same gradual type, notmerely 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 definean **equivalence** relationon gradual types: the gradual
302+
types ``A`` and ``B`` are equivalent (that is, the same gradual type, not
303+
merely consistentwith one another) if and only if all materializations of
304+
``A`` are alsomaterializations of ``B``, and all materializations of ``B``
305+
are alsomaterializations of ``A``.
306306

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp