Hello, iam relatively new to prolog an i want to ask you why a program of mine doesnt work.
collapse is supposed to take a list of lists and find the list with all the members of the list of lists for example:
collapse([[1,2],[3,4]],[1,2,3,4]) = true.
collapse([[]],[])...