Defining Data Types
data Tree a = Node a (Tree a) (Tree a) | Leaf
deriving Show
Node and Leaf are
alternative forms of Tree.
Types of the
components.
Ignore for now.
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version