haskell-lectures/VL1/content/VL1_write_haskell16.tex
2015-04-20 00:51:14 +02:00

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...