View Problem

Gather together corresponding elements from multiple lists

Given several lists, gather together the first element from every list, the second element from every list, and so on for all corresponding index values in the lists. E.g. for these three lists, first = ['Bruce', 'Tommy Lee', 'Bruce'], last = ['Willis', 'Jones', 'Lee'], years = [1955, 1946, 1940] the result should produce 3 actors. The middle actor should be Tommy Lee Jones.
r := [,]
first.size.times |Int i| { r.add([first[i], last[i], years[i]]) }


Submit a new solution for fantom
There are 20 other solutions in additional languages (clojure, cpp, csharp, erlang ...)