I want to add each list to the end of each respective member of the first list
I want the results to look like this:

It has got to be simple, but I am not seeing the answer. Please help.
Add lists to end of lists.dyn (9.1 KB)
I want to add each list to the end of each respective member of the first list
I want the results to look like this:

It has got to be simple, but I am not seeing the answer. Please help.
Add lists to end of lists.dyn (9.1 KB)
That’s it. Just Flatten the joined lists now.
Flatten 1 brings it all down to a single list. I can Chop 9 afterwards but that is not elegant.
Hi @truevis
?
You would have to flatten with the appropriate list levels to maintain the overall list structure.
That’s it. L3 is the level that does the trick.
or
DSCore.List.Flatten(DSCore.List.AddItemToEnd(a<1L>, b<1L>)@L3<1>, -1);
Cheers, @Nick_Boyts & @Kulkul