Gave it a try but still not working!
iex(12)> Enum.each(list1, fn row -> ...(12)> Enum.reduce(row, fn x, final_list -> final_list = [final_list | x] end)
...(12)> end
...(12)> )
warning: variable "final_list" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
iex:13
:ok
iex(13)> final_list
[]


















