diff options
| author | Cyril Cohen | 2020-11-06 11:32:17 +0100 |
|---|---|---|
| committer | Cyril Cohen | 2020-11-06 12:02:43 +0100 |
| commit | 79c45ec7696923c9d2867b094ca30d6af142dbc8 (patch) | |
| tree | de33c0bf66e0b42b54f2eda50bda3c3d726f45d9 /doc/sphinx/proof-engine | |
| parent | 16144a42a605c58fc9f9c3b287286d25bfb7b5f3 (diff) | |
Intro pattern extensions for dup, swap and apply
Diffstat (limited to 'doc/sphinx/proof-engine')
| -rw-r--r-- | doc/sphinx/proof-engine/ssreflect-proof-language.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/sphinx/proof-engine/ssreflect-proof-language.rst b/doc/sphinx/proof-engine/ssreflect-proof-language.rst index cdbae8ade1..39561d837e 100644 --- a/doc/sphinx/proof-engine/ssreflect-proof-language.rst +++ b/doc/sphinx/proof-engine/ssreflect-proof-language.rst @@ -1647,7 +1647,10 @@ Notations can be used to name tactics, for example Notation "'myop'" := (ltac:(my ltac code)) : ssripat_scope. lets one write just ``/myop`` in the intro pattern. Note the scope -annotation: views are interpreted opening the ``ssripat`` scope. +annotation: views are interpreted opening the ``ssripat`` scope. We +provide the following ltac views: ``/[dup]`` to duplicate the top of +the stack, ``/[swap]`` to swap the two first elements and ``/[apply]`` +to apply the top of the stack to the next. Intro patterns `````````````` |
