using append/2 we can aggregate a list of lists to one list
append([[a], [b], [c]], L) .
L= [a, b, c].
at this point, the question that arises is; how to do it with a list as follows :
L=[[[[a]]],[[[[c]]]],[[c]]]
using append/2 we can aggregate a list of lists to one list
append([[a], [b], [c]], L) .
L= [a, b, c].
at this point, the question that arises is; how to do it with a list as follows :
L=[[[[a]]],[[[[c]]]],[[c]]]