Skip to content

Commit

Permalink
Document locality of Ltac2 Set
Browse files Browse the repository at this point in the history
  • Loading branch information
SkySkimmer committed Mar 14, 2024
1 parent 3e8ac57 commit 5b53b64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/sphinx/proof-engine/ltac2.rst
Expand Up @@ -319,6 +319,12 @@ Ltac2 Definitions
The previous value of the binding can be optionally accessed using the `as`
binding syntax.

The effect of this command is limited to the current section or module.
When not in a section, importing the module containing this command
applies the redefinition again.
In other words it acts according to :attr:`local` in sections and
:attr:`export` otherwise (but explicit locality is not supported).

.. example:: Dynamic nature of mutable cells

.. coqtop:: all
Expand Down

0 comments on commit 5b53b64

Please sign in to comment.