aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/language/extensions/arguments-command.rst
diff options
context:
space:
mode:
authorThéo Zimmermann2020-06-09 12:42:36 +0200
committerThéo Zimmermann2020-06-09 12:42:36 +0200
commit4642ce1c5924cbfa93d6a8e96cf86839e614623b (patch)
tree4993e6de8cd61b655733feb5efce2e9c85f57cef /doc/sphinx/language/extensions/arguments-command.rst
parent10e126ba3232dac847ce5c7a62ff97d9ddfaa620 (diff)
parent27d6686f399f40904ff6005a84677907d53c5bbf (diff)
Merge PR #12103: Convert Ltac chapter to prodn
Diffstat (limited to 'doc/sphinx/language/extensions/arguments-command.rst')
-rw-r--r--doc/sphinx/language/extensions/arguments-command.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/sphinx/language/extensions/arguments-command.rst b/doc/sphinx/language/extensions/arguments-command.rst
index 613669c34b..0ae9fab7ab 100644
--- a/doc/sphinx/language/extensions/arguments-command.rst
+++ b/doc/sphinx/language/extensions/arguments-command.rst
@@ -3,7 +3,7 @@
Setting properties of a function's arguments
++++++++++++++++++++++++++++++++++++++++++++
-.. cmd:: Arguments @smart_qualid {* @arg_specs } {* , {* @implicits_alt } } {? : {+, @args_modifier } }
+.. cmd:: Arguments @reference {* @arg_specs } {* , {* @implicits_alt } } {? : {+, @args_modifier } }
:name: Arguments
.. insertprodn argument_spec args_modifier
@@ -37,7 +37,7 @@ Setting properties of a function's arguments
extensions into the core language used by the kernel). The command's effects include:
* Making arguments implicit. Afterward, implicit arguments
- must be omitted in any expression that applies :token:`smart_qualid`.
+ must be omitted in any expression that applies :token:`reference`.
* Declaring that some arguments of a given function should
be interpreted in a given scope.
* Affecting when the :tacn:`simpl` and :tacn:`cbn` tactics unfold the function.
@@ -82,7 +82,7 @@ Setting properties of a function's arguments
evaulate to constructors. See :ref:`Args_effect_on_unfolding`.
:n:`@name {? % @scope }`
- a *formal parameter* of the function :n:`@smart_qualid` (i.e.
+ a *formal parameter* of the function :n:`@reference` (i.e.
the parameter name used in the function definition). Unless `rename` is specified,
the list of :n:`@name`\s must be a prefix of the formal parameters, including all implicit
arguments. `_` can be used to skip over a formal parameter.
@@ -103,15 +103,15 @@ Setting properties of a function's arguments
:undocumented:
`clear scopes`
- clears argument scopes of :n:`@smart_qualid`
+ clears argument scopes of :n:`@reference`
`extra scopes`
defines extra argument scopes, to be used in case of coercion to ``Funclass``
(see :ref:`coercions`) or with a computed type.
`simpl nomatch`
- prevents performing a simplification step for :n:`@smart_qualid`
+ prevents performing a simplification step for :n:`@reference`
that would expose a match construct in the head position. See :ref:`Args_effect_on_unfolding`.
`simpl never`
- prevents performing a simplification step for :n:`@smart_qualid`. See :ref:`Args_effect_on_unfolding`.
+ prevents performing a simplification step for :n:`@reference`. See :ref:`Args_effect_on_unfolding`.
`clear bidirectionality hint`
removes the bidirectionality hint, the `&`
@@ -130,7 +130,7 @@ Setting properties of a function's arguments
.. todo the above feature seems a bit unnatural and doesn't play well with partial
application. See https://github.com/coq/coq/pull/11718#discussion_r408841762
- Use :cmd:`About` to view the current implicit arguments setting for a :token:`smart_qualid`.
+ Use :cmd:`About` to view the current implicit arguments setting for a :token:`reference`.
Or use the :cmd:`Print Implicit` command to see the implicit arguments
of an object (see :ref:`displaying-implicit-args`).
@@ -268,7 +268,7 @@ Binding arguments to a scope
Arguments plus_fct (f1 f2)%F x%R.
- When interpreting a term, if some of the arguments of :token:`smart_qualid` are built
+ When interpreting a term, if some of the arguments of :token:`reference` are built
from a notation, then this notation is interpreted in the scope stack
extended by the scope bound (if any) to this argument. The effect of
the scope is limited to the argument itself. It does not propagate to