doc-src/TutorialI/Misc/document/fakenat.tex
author oheimb
Mon, 12 Apr 2004 12:52:08 +0200
changeset 14536 43e436a4f293
parent 13791 3b6ff7ceaf27
child 17056 05fc32a23b8b
permissions -rw-r--r--
added HOLCF/Streams.thy (with concatenation etc.)

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