refactoring: SyntaxTree.hs