doc-src/TutorialI/Misc/fakenat.thy
author paulson
Mon, 09 Jul 2001 13:43:02 +0200
changeset 11400 ddcfdc38090d
parent 9541 d17c0b34d5c8
child 11418 53a402c10ba9
permissions -rw-r--r--
isa-index replaces ../sedindex: knows about \\isa

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

text{*\noindent
The type \isaindexbold{nat}\index{*0|bold}\index{*Suc|bold} of natural
numbers is predefined and behaves like
*}

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