git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@10398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2010-05-14 09:44:49 +00:00
parent 208ec3cfdd
commit 2fb73cbd77
1 changed files with 5 additions and 5 deletions

View File

@ -542,11 +542,11 @@ The following artificial example illustrates the assignment of
integers and block tags to constructors:
\begin{verbatim}
type t =
| A /* First constant constructor -> integer "Val_int(0)" */
| B of string /* First non-constant constructor -> block with tag 0 */
| C /* Second constant constructor -> integer "Val_int(1)" */
| D of bool /* Second non-constant constructor -> block with tag 1 */
| E of t * t /* Third non-constant constructor -> block with tag 2 */
| A (* First constant constructor -> integer "Val_int(0)" *)
| B of string (* First non-constant constructor -> block with tag 0 *)
| C (* Second constant constructor -> integer "Val_int(1)" *)
| D of bool (* Second non-constant constructor -> block with tag 1 *)
| E of t * t (* Third non-constant constructor -> block with tag 2 *)
\end{verbatim}
\subsection{Objects}