Talk:Palindrome detection: Difference between revisions
Content added Content deleted
(→Prolog: Should use strings) |
(→Prolog) |
||
Line 52: | Line 52: | ||
Like if the clause were undetermined (and in fact pressing ; for the next solution, gives no, not yes!)... maybe I should read deeper the page... --[[User:ShinTakezou|ShinTakezou]] 15:50, 10 February 2009 (UTC) |
Like if the clause were undetermined (and in fact pressing ; for the next solution, gives no, not yes!)... maybe I should read deeper the page... --[[User:ShinTakezou|ShinTakezou]] 15:50, 10 February 2009 (UTC) |
||
:I don't think this solution is very good anyway because it uses a list of characters rather than a string. I'd rather see one using string library functions. --[[User:Mwn3d|Mwn3d]] 15:54, 10 February 2009 (UTC) |
:I don't think this solution is very good anyway because it uses a list of characters rather than a string. I'd rather see one using string library functions. --[[User:Mwn3d|Mwn3d]] 15:54, 10 February 2009 (UTC) |
||
The functions you used for strings are in SWI Prolog, but not in GNU Prolog, so I can't test it, but the "logic" seems logical to me:D --[[User:ShinTakezou|ShinTakezou]] 21:26, 10 February 2009 (UTC) |