doc-src/TutorialI/Misc/fakenat.thy
author wenzelm
Sun, 25 Jun 2000 23:46:39 +0200
changeset 9122 addbea344673
parent 8745 13b32661dde4
child 9494 44fefb6e9994
permissions -rw-r--r--
added state: 'a * 'b -> 'a * ('a * 'b);

(*<*)
theory fakenat = Main:;
(*>*)

text{*\noindent
The type \isaindexbold{nat} of natural numbers is predefined and
behaves like
*}

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