Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Interlacing blocks

From: nitsch-lists:netcologne at: 7-Jan-2004 1:45

Am Montag 05 Januar 2004 06:48 schrieb Henrik Mikael Kristensen:
> Hi > > Interlacing blocks: > > a: [a b c] > b: [x y z] > c: [1 2 3] > > => d: [a x 1 b y 2 c z 3] > > Is there a function to do this? I wrote my own, but was curious.
If nothing else is at hand, a: [a b c] b: [x y z] c: [1 2 3] d: copy[] repeat i length? a[repend d[a/:i b/:i c/:i]] ? d Its so short i would not write something special. Otherwise nforeach of course. -Volker