From: Stephen Bloch (sbloch at adelphi.edu) Date: Thu Feb 23 11:58:42 EST 2006 |
|
At 10:28 AM -0800 2/22/06, Greg Woodhouse wrote: >Does Scheme provide a standard way to do this? I wrote a little ad hoc >function, but it seems that this ought to be common enough an operation >to have a standard solution. > >;;zip two list (e.g., (zip (1 2) (3 4)) is ((1 3) (2 4))) Another name for this is "transposing a matrix", if you represent a matrix as a list of its rows, each of which is a list of numbers. -- Stephen Bloch sbloch at adelphi.edu
Posted on the users mailing list. |
|