13 lines
206 B
TeX
13 lines
206 B
TeX
|
Let's build our tree:
|
||
|
\begin{haskellcode}
|
||
|
tree :: Tree
|
||
|
tree = Node
|
||
|
(Leaf 'x')
|
||
|
1
|
||
|
(Node
|
||
|
(Leaf 'y')
|
||
|
2
|
||
|
(Leaf 'z')
|
||
|
)
|
||
|
\end{haskellcode}
|
||
|
See board...
|