79142397

Date: 2024-10-30 18:36:48
Score: 1.5
Natty:
Report link

You also can use flat_map

iex> [
...>   [[1, 2, 3], [4, 5, 6]],
...>   [[1, 2, 3], [4, 5, 6]]
...> ] |> Enum.flat_map(fn x -> x end)
[[1, 2, 3], [4, 5, 6], [1, 2, 3], [4, 5, 6]]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexey Pavlinov