diff options
| author | Théo Zimmermann | 2019-05-22 16:54:41 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2019-05-22 16:54:41 +0200 |
| commit | a9697975825e408f80b488c5a7420615568b660e (patch) | |
| tree | 678ab15a84d529af9e1ccbd3c7118f4967a4b7c5 /doc/sphinx/proof-engine | |
| parent | 59d0ac70a475b80d28e5d0ef4764515532d47533 (diff) | |
Ltac2 doc fix: syntax for extending an open variant type.
Diffstat (limited to 'doc/sphinx/proof-engine')
| -rw-r--r-- | doc/sphinx/proof-engine/ltac2.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sphinx/proof-engine/ltac2.rst b/doc/sphinx/proof-engine/ltac2.rst index 1386adcd59..73eb8a7f38 100644 --- a/doc/sphinx/proof-engine/ltac2.rst +++ b/doc/sphinx/proof-engine/ltac2.rst @@ -154,7 +154,7 @@ One can define new types by the following commands. Records are product types with named fields and eliminated by projection. Likewise they can be recursive if the `rec` flag is set. - .. cmdv:: Ltac2 Type {? @ltac2_typeparams } @ltac2_qualid := [ @ltac2_constructordef ] + .. cmdv:: Ltac2 Type {? @ltac2_typeparams } @ltac2_qualid ::= [ @ltac2_constructordef ] Open variants are a special kind of variant types whose constructors are not statically defined, but can instead be extended dynamically. A typical example |
