doc-src/TutorialI/Misc/document/fakenat.tex
author paulson
Mon, 12 Nov 2001 10:56:38 +0100
changeset 12156 d2758965362e
parent 11866 fbd097aec213
child 13758 ee898d32de21
permissions -rw-r--r--
new-style numerals without leading #, along with generic 0 and 1

%
\begin{isabellebody}%
\def\isabellecontext{fakenat}%
\isamarkupfalse%
%
\begin{isamarkuptext}%
\noindent
The type \tydx{nat} of natural
numbers is predefined to have the constructors \cdx{0} and~\cdx{Suc}.  It  behaves as if it were declared like this:%
\end{isamarkuptext}%
\isamarkuptrue%
\isacommand{datatype}\ nat\ {\isacharequal}\ {\isadigit{0}}\ {\isacharbar}\ Suc\ nat\isamarkupfalse%
\isamarkupfalse%
\end{isabellebody}%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "root"
%%% End: