![]() |
|
XP is just a number | |
PerlMonks |
Re: Transposerby jdporter (Chancellor) |
on Jul 13, 2005 at 15:30 UTC ( #474585=note: print w/replies, xml ) | Need Help?? |
You said your motivation was a need to
take a list of tuples and give back the list of all the nth elements of each tuplebut the code you posted doesn't do exactly that. (It transposes a matrix, as already discussed.) So here's code that does exactly that. Trivial, as you can see.
In Section
Code Catacombs
|
|