doc-src/Tutorial/Datatype/tunfoldeddata
author berghofe
Mon, 03 Feb 2003 11:06:06 +0100
changeset 13800 16136d2da0db
parent 5851 15ce4c1c8313
permissions -rw-r--r--
Moved find_intros_goal from goals.ML to pure_thy.ML
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5851
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     1
datatype ('a,'b)term = Var 'a | App 'b (('a,'b)term_list)
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     2
and ('a,'b)term_list = Nil | Cons (('a,'b)term) (('a,'b)term_list)