Subject: palindrome problem

From: Darren Gates <[email-masked]>
Date: Sat, 13 May 2000 19:46:31 -0700 (PDT)

hello,

I was wondering if anyone could assist with the following
problem:

I want to define the predicate palindrome(Base,Result), assuming
that Result is always even length list. For example,

palindrome([m,a,d],R). 

R = [m.a.d.d.a.m] ;

palindrome(B,[n,i,s,s,i,n]). 

B = [n,i,s] ;

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/