Talk:Palindrome detection: Difference between revisions

(→‎Prolog: experimenting prolog...)
Line 108:
 
So now I am convinced I can't do it, and I'm wondering if it exists somewhere a Prolog Guru able to enlighten my poor logic at pro'''log'''-'''ic'''. --[[User:ShinTakezou|ShinTakezou]] 01:24, 11 February 2009 (UTC)
 
 
====Better reading of the GNU Prolog manual====
 
They worked... The meaning of True when feeded with a palindrome was that one (and only) solution is true, while the ? just asked for the search of the next solution; the ''no'' that is output thereafter, means there are no more solutions! When it is not a palindrome, it simply says that there are not solution (no), it does not mean that the "predicate" returned false... it means that the problem can't have a solution (i.e., the word is not palindrome). --[[User:ShinTakezou|ShinTakezou]] 14:32, 11 February 2009 (UTC)