To clarify, the list variable in my example is a two-dimensional list, e.g. 
[[1, 2, 3], [4, 5, 6], [7, 8, 9]]

On Friday, December 3, 2021 at 2:56:15 PM UTC+2 Oskar wrote:

> Hi!
>
> Would you be open to `Enum.transpose(enumerable)` or 
> `List.transpose(list)` functions? You can already transpose a list with 
> `Enum.zip_with(list, & &1)` and `Stream.zip_with(list, & &1)`, however it's 
> a bit difficult to understand the intent on first glance, whereas 
> `transpose/1` would be a clear operation. I am unsure how other enumerables 
> would fit into this, so maybe it should go under the List module.
>
> What do you think?
>
> Oskar
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/7a52ae00-b4ca-4a6f-8b88-f020d96fbbf0n%40googlegroups.com.

Reply via email to