jimisharris
Programmer
hi,i want your help please,
I have the following facts in prolog and i want to write a function that merge the following facts in one list
l(ar, [c,d,f,g]).
l(br, [s,h,g,d]).
l(cr, [m,n,c]).
l(dr, [v,h,n,m]).
after that i want to know which of these elements in new list are exists more than one time.
thanks
I have the following facts in prolog and i want to write a function that merge the following facts in one list
l(ar, [c,d,f,g]).
l(br, [s,h,g,d]).
l(cr, [m,n,c]).
l(dr, [v,h,n,m]).
after that i want to know which of these elements in new list are exists more than one time.
thanks