
common.pl -- Common predicates used in multiple filesCommon and utility predicates that may be called from multiple locations.
predicate(?PredicateStruct:compound, ?Name:atom, ?Args:list) is detnot(_).
c_rule(?Rule:compound, ?Head:compound, ?Body:list) is detHead = -(RealHead, ID). This can be taken advantage of if the head
and ID are simply being copied, but should be used with care.
rule(?Rule:compound, ?Head:compound, ?ID:int, ?Body:list) is det
negate_functor(+Functor:atom, -NegFunctor:atom) is det
is_dual(+Functor:atom) is semidet
is_global_constraint(+Term:callable, -Nth:integer) is semidet
split_functor(+Functor:atom, -Name:atom, -Arity:int) is det
join_functor(-Functor, +Name, +Arity) is det
create_unique_functor(+Head:ground, +Counter:int, -NewHead:ground) is det_Arity.
raise_negation(+Goal, -UserGoal) is det
intern_negation(+QIn, -QOut) is det
operator(+Operator:ground, -Specifier:atom, -Priority:int) is det