فوری: کمک برای حل یک مثال(join دو لیست)
write a 3-place predicate combine3 which takes three lists as arguments and combines the elements of the first two lists into the third as follows: ?- combine3([a,b,c],[1,2,3],X). X = [join(a,1),join(b,2),join(c,3)] ?- combine3([foo,bar,yip,yup],[glub,glab,glib,glob],R). R = [join(foo,glub),join(bar,glab),join(yip,glib),join( yup,glob)]
|