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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.