[plt-scheme] What's that function....
That's simple to construct using map. I would say more as this could
be homework.
HTH,
N.
On Fri, May 7, 2010 at 8:19 AM, Andrei Estioco <chadestioco at gmail.com> wrote:
> Is there a function in Scheme that takes in an arbitrary number of lists
> (assuming they are of equal lengths) and then outputs a list of lists in
> which all the firsts, seconds, thirds, etc. are grouped together?
>
> Id est,
>
>>(fn '(1 2 3 4) '(5 6 7 8) '(9 10 11 12))
> '((1 5 9) (2 6 10) (3 7 11) (4 8 12))
>
> I'm not sure how it exactly works but something along those lines. I think I
> read about it somewhere. What's it's name again (if there is such thing)?
>
> Thanks.
>
> --
> Chad Estioco