I want to be able to turn
this: [[[a],b],c]
into this: [a,b,c]
with a constantly changing lists, so far I've done this:
a([[[A],B],C]).
strechList(List,C):-
List=[H,T],
append(T,List1,C),
strechList(H,List1).
strechList(A,A).
but it doesn't work.