< Back to IRCAM Forum

OMLoop - Combining Lists


I am new in OM and I have a question. (I am using fairly PWGL and the loop functions are a bit different. I try to understand the differences with the OM functions.)

Imagine with OMLoop we have 3 lists as input:
first: (1 2 3 4)
second: (q w e r t)
third: (5 6 7 8 9)

If i use the list function with 3 different inputs and then listloop I get as final result ((1 2 3) (a b c d) (5 6 7 8 9)).

Is there any way to get ((1 a 5)(2 w 6)(3 e 7)(4 r 8))?
This would have been the normal output in the PWGL looping function.

Thank you in advance.


Hi Dandriko,

You need this while it is simpler to use a straight mapcar:


Thank you a lot!!