aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-11-30 04:25:49 +0100
committerPierre-Marie Pédrot2014-11-30 04:27:35 +0100
commit524f38b37fa744b7859d8c97bdec6bcbf27882aa (patch)
tree1882fb4a1e118dadded9bdcd39abfdf04a93e53e
parent9c4287c94700e19a70e0805d59cb4102a45326a7 (diff)
Documenting the Set Refine Instance Mode.
-rw-r--r--CHANGES2
-rw-r--r--doc/refman/Classes.tex11
2 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index bf322f6895..b1946188b4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -63,6 +63,8 @@ Vernacular commands
retrieved using the "Locate Term" command.
- New "Derive" command to help writing program by derivation.
- "Undo" undoes any command, not just tactics.
+- New "Refine Instance Mode" option that allows to deactivate the generation of
+ obligations in incomplete typeclass instances, raising an error instead.
Specification Language
diff --git a/doc/refman/Classes.tex b/doc/refman/Classes.tex
index 869ba971cc..1d134269f5 100644
--- a/doc/refman/Classes.tex
+++ b/doc/refman/Classes.tex
@@ -413,6 +413,17 @@ based on a variant of eauto. The flags semantics are:
\item {\emph{depth}} This sets the depth of the search (the default is 100).
\end{itemize}
+\subsection{\tt Set Refine Instance Mode}
+\comindex{Set Refine Instance Mode}\comindex{Unset Refine Instance Mode}
+
+The option {\tt Refine Instance Mode} allows to switch the behaviour of instance
+declarations made through the {\tt Instance} command.
+\begin{itemize}
+\item When it is on (the default), instances that have unsolved holes in their
+proof-term silently open the proof mode with the remaining obligations to prove.
+\item When it is off, they fail with an error instead.
+\end{itemize}
+
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "Reference-Manual"