equal
deleted
inserted
replaced
6 Datatype definition of binary trees |
6 Datatype definition of binary trees |
7 *) |
7 *) |
8 |
8 |
9 structure BT = Datatype_Fun |
9 structure BT = Datatype_Fun |
10 (val thy = Univ.thy; |
10 (val thy = Univ.thy; |
|
11 val thy_name = "BT"; |
11 val rec_specs = |
12 val rec_specs = |
12 [("bt", "univ(A)", |
13 [("bt", "univ(A)", |
13 [(["Lf"],"i",NoSyn), |
14 [(["Lf"],"i",NoSyn), |
14 (["Br"],"[i,i,i]=>i", NoSyn)])]; |
15 (["Br"],"[i,i,i]=>i", NoSyn)])]; |
15 val rec_styp = "i=>i"; |
16 val rec_styp = "i=>i"; |