doc-src/Tutorial/Misc/Tree.thy
author wenzelm
Wed, 25 Nov 1998 14:11:24 +0100
changeset 5966 60f80b2a2777
parent 5377 efb799c5ed3c
permissions -rw-r--r--
removed prs / prs_fn (broken, because it did not include \n in its semantics, forcing writeln to add one uncoditionally); replaced prs_fn by writeln fn;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5377
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     1
Tree = Main +
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     2
datatype 'a tree = Tip | Node ('a tree) 'a ('a tree)
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     3
end