Background:
I am trying to write an expression in prolog. I have some code that transverses the tree. I just need to figure out how to perform the operators, as they are variables.
For example, we have this:
compute(expTree(+, expTree(const, 10), 5), X).
When it's all said and done, it will...