haskell-lectures/VL1/content/VL1_ADT6.tex
2015-04-23 22:40:13 +02:00

13 lines
263 B
TeX

\ifger{Wir bauen unseren Tree:}{Let's build our tree:}
\begin{haskellcode}
tree :: Tree
tree = Node
(Leaf 'x')
1
(Node
(Leaf 'y')
2
(Leaf 'z')
)
\end{haskellcode}
\ifger{Siehe Tafel...}{See board...}