diff options
| author | Pierre-Marie Pédrot | 2017-08-01 16:46:29 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-08-01 16:46:29 +0200 |
| commit | 30fc910b01f61ce3691ed63a0908c1c60cee76dd (patch) | |
| tree | eca8017c8278b0bbc0ee7266d624ed6866d63725 | |
| parent | 8a8fd265158fa3fe7eea65b50c3da722e81fa688 (diff) | |
Fix documentation.
| -rw-r--r-- | doc/ltac2.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ltac2.md b/doc/ltac2.md index fee19e5df0..7a3b2181f8 100644 --- a/doc/ltac2.md +++ b/doc/ltac2.md @@ -467,11 +467,11 @@ Rather, the tactic writer has to resort to the **dynamic** goal environment, and must write instead explicitly that she is accessing a hypothesis, typically as follows. ``` -constr:(fun x : nat => ltac2:(hyp @x)) +constr:(fun x : nat => ltac2:(exact (hyp @x))) ``` -The `ltac2:(hyp @x)` pattern is so common that we provide a dedicated Coq -term notation for it. +The `ltac2:(exact (hyp @x))` pattern is so common that we provide dedicated +Ltac2 and Coq term notations for it. #### Dynamic semantics |
