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