blob: 436409ed2471bc766c34acd91880e7a73ce73369 (
plain)
1
2
3
4
5
6
7
8
|
T5892a.hs:12:8: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields]
• Fields of ‘Node’ not initialised:
subForest :: [Tree [Int]]
• In the expression: Node {..}
In the expression: let rootLabel = [] in Node {..}
In an equation for ‘foo’:
foo (Node {..}) = let rootLabel = [] in Node {..}
|