diff options
| author | herbelin | 2010-07-25 22:17:43 +0000 |
|---|---|---|
| committer | herbelin | 2010-07-25 22:17:43 +0000 |
| commit | 4d51d7e42125ecfec94768cac77e67026574c6f8 (patch) | |
| tree | f0a375c9494f5ddb803c74bb97f6cbe1bd20cfc9 /doc | |
| parent | 9303e4590e52cba8c11fbacd91ff3098d7d1e00a (diff) | |
Documentation of Set Automatic Coercions Import.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13327 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/refman/Coercion.tex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/refman/Coercion.tex b/doc/refman/Coercion.tex index 4f3d3ec41e..3b6c949bae 100644 --- a/doc/refman/Coercion.tex +++ b/doc/refman/Coercion.tex @@ -367,6 +367,29 @@ Coercions with a local source class or a local target class, and coercions which do not verify the uniform inheritance condition any longer are also forgotten. +\asection{Coercions and Modules} +\index{Coercions!and modules} + +From Coq version 8.3, the coercions present in a module are activated +only when the module is explicitly imported. Formerly, the coercions +were activated as soon as the module was required, whatever it was +imported or not. + +To recover the behavior of the versions of Coq prior to 8.3, use the +following command: + +\comindex{Set Automatic Coercions Import} +\comindex{Unset Automatic Coercions Import} +\begin{verbatim} +Set Automatic Coercions Import. +\end{verbatim} + +To cancel the effect of the option, use instead: + +\begin{verbatim} +Unset Automatic Coercions Import. +\end{verbatim} + \asection{Examples} There are three situations: |
