diff options
| author | glondu | 2010-10-05 16:52:39 +0000 |
|---|---|---|
| committer | glondu | 2010-10-05 16:52:39 +0000 |
| commit | 3d5a8667b566fbade7d0639b835ded2e1f8d53e4 (patch) | |
| tree | a41b245fead78c19d2cb044b1a041da08f1793e9 | |
| parent | ce55be332b18c301a0ecf4fc4ee8716de31227fc (diff) | |
(Hopefully) clearer explanation of Ltac's context patterns
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13503 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | doc/refman/RefMan-ltac.tex | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/refman/RefMan-ltac.tex b/doc/refman/RefMan-ltac.tex index ec9776de98..090bbb0a92 100644 --- a/doc/refman/RefMan-ltac.tex +++ b/doc/refman/RefMan-ltac.tex @@ -553,11 +553,10 @@ pattern: \begin{quote} {\tt context} {\ident} {\tt [} {\cpattern} {\tt ]} \end{quote} -It matches any term which one subterm matches {\cpattern}. If there is -a match, the optional {\ident} is assign the ``matched context'', that -is the initial term where the matched subterm is replaced by a -hole. The definition of {\tt context} in expressions below will show -how to use such term contexts. +It matches any term with a subterm matching {\cpattern}. If there is +a match, the optional {\ident} is assigned the ``matched context'', i.e. +the initial term where the matched subterm is replaced by a +hole. The example below will show how to use such term contexts. If the evaluation of the right-hand-side of a valid match fails, the next matching subterm is tried. If no further subterm matches, the |
