10 Mar 2005
CS 3243 - FOL and Prolog
35
Compound Terms
parents(spot, fido, rover)
The parents of Spot are Fido and Rover.
Functor (an atom) of arity 3.
components (any terms)
It is possible to depict the term as a tree:
parents
rover
fido
spot