Apr 9, 2003 #1 9078 Programmer Apr 9, 2003 1 US I need to create the predicate which would turn the function to an array of permutations. -? perm(a(b(c)),T). should return: T=[a,b,c] T=[b,c,a] T=[b,a,c]. etc. Can someone help me.....
I need to create the predicate which would turn the function to an array of permutations. -? perm(a(b(c)),T). should return: T=[a,b,c] T=[b,c,a] T=[b,a,c]. etc. Can someone help me.....