For example I have a list which looks like this one
# [
# [elem1, ... comment11]
# [elem1, ... comment12]
# ...
# [elem2, ... comment21]
# ...
# ]
And I should make from this something similar that:
# [
# [elem1, ... [comment11, comment12]]
# [elem2, ... [comment21, ...]]
# ...
# ]
Where just unlike list's elements (only last elements of each list) will be concatenated to one new list.