next up previous contents
Next: 1 Up: Prolog Syntax Previous: How To Glue

Rules as Terms

Consider:

 
happy(X):-

rich(X). [-5pt]

If this is a term then it is a compound term. Again, what is its principal functor and its arity?




Paul Brna
Mon May 24 20:14:48 BST 1999