I think this is quite a straightforward problem to solve, but I’ve been trying to solve it for a stupidly long time. I have two lists which I want to combine in the following way;
List 1: (a b c)
List 2: (1 2 3)
Output: (a 1) (a 2) (a 3) (b 1) (b 2) (b 3) (c 1) (c 2) (c 3)
I feel like I’ve come close to cracking it in a few different ways (I’ve tried OMLOOP, MAT-TRANS, POSN-MATCH, MAPCAR to name a few) but haven’t quite got the result.
Multiple solutions would be incredibly useful to see as I’m sure there are a few simple ways to do this which I’m not seeing!
Thanks in advance