From cdf8124e5a6ab2900ddba5133678853b6f4b440c Mon Sep 17 00:00:00 2001 From: narboux Date: Tue, 6 Apr 2004 15:45:06 +0000 Subject: *** empty log message *** git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8539 85f007b7-540e-0410-9357-904b9bb8a0f7 --- doc/newfaq/main.tex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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} -- cgit v1.2.3