I need help writing a predicate ground( Term) that returns true if Term doesn't have any uninstantiated variables.
I know i need to use the built-in predicates functor, arg, and '=..' but I think i need help just getting started...
My idea is that I need to go down the Term (Term could be a list of multiple variables). Check the Head, Then recursively look at the the rest of the list and check if the rest of the list is uninstantiated.
But my problem is... How do i check if it's uninstantiated?