What is cut predicate?

 

Answer: There is an inbuilt Prolog predicate! Called cut, which offers a more direct way of exercising control over the way Prolog looks for solutions. 

Post a Comment