doc-src/TutorialI/Misc/document/fakenat.tex
author webertj
Mon, 12 Jan 2004 14:35:07 +0100
changeset 14351 cd3ef10d02be
parent 13791 3b6ff7ceaf27
child 17056 05fc32a23b8b
permissions -rw-r--r--
Fixed compatibility issues with SML/NJ: - replaced '(op *)' by 'op*' - replaced 'LargeInt' by 'Int'

%
\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: