diff options
| author | narboux | 2004-04-06 15:45:06 +0000 |
|---|---|---|
| committer | narboux | 2004-04-06 15:45:06 +0000 |
| commit | cdf8124e5a6ab2900ddba5133678853b6f4b440c (patch) | |
| tree | 3e7dbbbde67aabb3609e7f4a11e4093bcf4e9c22 | |
| parent | b0f4c3f871d1544c8c3919ea9811f95811f90e3d (diff) | |
*** empty log message ***
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8539 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | doc/newfaq/main.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/newfaq/main.tex b/doc/newfaq/main.tex index 8f6b34942c..87fd6145a6 100644 --- a/doc/newfaq/main.tex +++ b/doc/newfaq/main.tex @@ -805,11 +805,28 @@ Qed. \section{Notations} +\Question{How can I define a notation for square ?} + +You can use for instance : +\begin{verbatim} +Notation "x ^2" := (Rmult x x) (at level 20). +\end{verbatim} +Note that you can not use : +\begin{verbatim} +Notation "x ²" := (Rmult x x) (at level 20). +\end{verbatim} +because ``²'' is an iso-latin character. If you really want this kind of notation you should use UTF-8. + + + \section{Modules} + \section{Tactics in ml} +\Question{Can you show an example of a tactic writen in OCaml ?} +You have some examples of tactics written in Ocaml in the ``contrib'' directory of \Coq sources. %%%%%%% \section{\Ltac} |
