diff options
| author | coqbot-app[bot] | 2020-11-09 21:41:00 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-09 21:41:00 +0000 |
| commit | fa8d3d7a5e48508128a9d52720765479822e4093 (patch) | |
| tree | f3a976146d19c349b310d7f468ddedbb1a357fc3 | |
| parent | d2047c6368ae11a3a3fd7f2db8c991d135094e60 (diff) | |
| parent | 3f5f5cf07de6eb804e52da8213a0f1a75cb0cdbe (diff) | |
Merge PR #13327: Fix documentation of Ltac ::=
Reviewed-by: jfehrle
| -rw-r--r-- | doc/sphinx/proof-engine/ltac.rst | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/sphinx/proof-engine/ltac.rst b/doc/sphinx/proof-engine/ltac.rst index 8663ac646b..d9a0178cce 100644 --- a/doc/sphinx/proof-engine/ltac.rst +++ b/doc/sphinx/proof-engine/ltac.rst @@ -1730,6 +1730,8 @@ Defining |Ltac| symbols |Ltac| toplevel definitions are made as follows: +.. index:: ::= + .. cmd:: Ltac @tacdef_body {* with @tacdef_body } :name: Ltac @@ -1754,10 +1756,15 @@ Defining |Ltac| symbols Defines a user-defined symbol, but gives an error if the symbol has already been defined. -.. todo apparent inconsistency: "Ltac intros := idtac" seems like it redefines/hides an existing tactic, - but in fact it creates a tactic which can only be called by it's qualified name. This is true in general - of tactic notations. The only way to overwrite most primitive tactics, and any user-defined tactic - notation, is with another tactic notation. + .. todo apparent inconsistency: + + "Ltac intros := idtac" seems like it redefines/hides an + existing tactic, but in fact it creates a tactic which can + only be called by its qualified name. This is true in + general of tactic notations. The only way to overwrite most + primitive tactics, and any user-defined tactic notation, is + with another tactic notation. + .. exn:: There is already an Ltac named @qualid :undocumented: @@ -1767,7 +1774,8 @@ Defining |Ltac| symbols do not count as user-defined tactics for `::=`. If :attr:`local` is not specified, the redefinition applies across module boundaries. - .. exn: There is no Ltac named @qualid + .. exn:: There is no Ltac named @qualid + :undocumented: :n:`{* with @tacdef_body }` Permits definition of mutually recursive tactics. |
