8.3 camil
[fp1415.git] / week7 / camil / BinTree.dcl
1 definition module BinTree
2
3 :: Tree a = Node a (Tree a) (Tree a) | Leaf
4
5 t0 :: Tree Int
6 t1 :: Tree Int
7 t2 :: Tree Int
8 t3 :: Tree Int
9 t4 :: Tree Int
10 t5 :: Tree Int
11 t6 :: Tree Int
12 t7 :: Tree Int
13
14 //nodes :: // meest algemene type
15 //leaves :: // meest algemene type
16 //diepte :: // meest algemene type