Prolog, fail and do not backtrack.

Posted by Jerry on Stack Overflow See other posts from Stack Overflow or by Jerry
Published on 2010-05-23T15:48:24Z Indexed on 2010/05/23 15:50 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

Is there any build-in predicate in SWI-Prolog that will always fail AND prevent machine from backtracking (this is not what fail/0 does)? I could use cuts, but I don't like them.

© Stack Overflow or respective owner

Related posts about prolog

Related posts about swi-prolog