diff options
| author | Théo Zimmermann | 2018-04-04 09:44:53 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-04-04 09:44:53 +0200 |
| commit | bea7f8f6a8f4cf902c6f296352d422bc81b7b8a9 (patch) | |
| tree | 02836c0119b80612624127e992ddd586d5f419e2 /doc/sphinx/language | |
| parent | ef9beacfe10383fcb8a42f92f754bc4dcb391a67 (diff) | |
| parent | bbd53a978e1107f2840bad189b440007f4225795 (diff) | |
Merge PR #7037: Sphinx doc chapter 18
Diffstat (limited to 'doc/sphinx/language')
| -rw-r--r-- | doc/sphinx/language/gallina-extensions.rst | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index 68066faa30..1d6c11b38d 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -2191,12 +2191,7 @@ an inductive type or any constant with a type of the form Then the user is able to apply an object that is not a function, but can be coerced to a function, and more generally to consider that a term of type ``A`` is of type ``B`` provided that there is a declared coercion -between ``A`` and ``B``. The main command is - -.. cmd:: Coercion @qualid : @class >-> @class. - -which declares the construction denoted by qualid as a coercion -between the two given classes. +between ``A`` and ``B``. More details and examples, and a description of the commands related to coercions are provided in :ref:`implicitcoercions`. |
