next up previous contents
Next: current_predicate/2 Up: Powerful Features ---Find Previous: current_atom/1

current_functor/2

Many Prolog systems implement this feature ---but not SICStus.

 
?- current_functor(atom,atom(fred)).

yes



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