doc-src/TutorialI/Misc/fakenat.thy
author wenzelm
Mon, 24 Sep 2007 13:52:51 +0200
changeset 24689 ac5b5a6155dd
parent 16417 9bc16273c2d4
permissions -rw-r--r--
renamed ML-Systems/multithreading_dummy.ML to ML-Systems/multithreading.ML; replaced interrupt_timeout by TimeLimit.timeLimit (available on SML/NJ and Poly/ML 5.1);

(*<*)
theory fakenat imports Main begin;
(*>*)

text{*\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:
*}

datatype nat = 0 | Suc nat
(*<*)
end
(*>*)