24 lines
445 B
Haskell
24 lines
445 B
Haskell
[
|
|
Node {
|
|
rootLabel = 7,
|
|
subForest = [
|
|
Node {
|
|
rootLabel = 1,
|
|
subForest = [
|
|
Node {
|
|
rootLabel = 4,
|
|
subForest = []
|
|
},
|
|
Node {
|
|
rootLabel = 3,
|
|
subForest = []
|
|
}
|
|
]
|
|
},
|
|
Node {
|
|
rootLabel = 8,
|
|
subForest = []
|
|
}
|
|
]
|
|
}
|
|
]
|