Zip elements with odd and even indices in a list
- by Alexander Temerev
I want to zip even and odd elements in a list to make a list of pairs, like that:
["A", "B", "C", "D", "E", "F"] -> [("A", "B"), ("C", "D"), ("E", "F")]
What is the most concise expression to do this in elegant in functional way?