haskell-lectures/VL1/content/VL1_ADT6.tex

13 lines
263 B
TeX
Raw Normal View History

2015-04-23 20:40:13 +00:00
\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}
2015-04-23 20:40:13 +00:00
\ifger{Siehe Tafel...}{See board...}