Hi all, Thanks for bearing with my questions. I'm trying to understand how to do more complex sequence operations in factor. (and don't really know how to solve this, with my current knowledge of tools) say I have pairs of objects,
{ V{ { 1 "e" } { 1 "f" } { 1 "g" } } V{ { 2 "a" } { 2 "b" } { 2 "c" } } } (the inner vectors length may differ from each other, and also there can be more than 2 vectors inside) I want to have them interleaved, according to the first item in the pair: { { 1 "e" } { 2 "a" } { 1 "f" } { 2 "b" } { 1 "g" } { 2 "c" } } (to spread them equally) my thought was to use map, but how can I map vertically? that is, take the first item from all sequences, then take the second.. How would you implement this, and which language construct to use here? Thanks in advance, Kobi -- China: stop persecuting Falun Gong! http://faluninfo.net URGENT: Innocent people are being persecuted for their belief inside Communist China. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk