Hey, I've been working with prolog and am coming along at a so-so speed but I have a question. Is there any way once I have a list that I'm using to track movements to take things out of that list from another list comparison? Pretty much I want to do a set difference but I want to retain the original list in terms of variable.
So lets say V = [v1,b2,v2,b3,v5,b5] and I want to remove all instances of the b# combination. So B = [b1,b2,b3,b4,b5] lets say. After I do this though I'd like to hold V as the list but with only v values.
Hope that makes sense...
So lets say V = [v1,b2,v2,b3,v5,b5] and I want to remove all instances of the b# combination. So B = [b1,b2,b3,b4,b5] lets say. After I do this though I'd like to hold V as the list but with only v values.
Hope that makes sense...