February 17, 20215 yr Hi, The doc states: ;Note the handling of further nested sublists: (find-everyother 2 '(((1 2) (3 4) (5 6) (7 8)) ((1 2) (3 4) (5 6) (7 8) (9 10) (11)))) => (((1 2) (5 6)) ((1 2) (5 6) (9 10))) when I evaluate it I get: (find-everyother 2 '(((1 2) (3 4) (5 6) (7 8)) ((1 2) (3 4) (5 6) (7 8) (9 10) (11)))) =>((1 2 5 6) (1 2 5 6 9 10)) What am I missing or how can I achive the upper example? Thanks! ole
February 17, 20215 yr It flatten the lists after I added the events here. Will add a condition to fix this.
February 17, 20215 yr Author Thanks! Do you can propose a workaround until the next update, by chance?
February 17, 20215 yr Author Found it in the meantime, thanks! (gen-divide 2 (flatten (find-everyother 2 '(((1 2) (3 4) (5 6) (7 8)) ((1 2) (3 4) (5 6) (7 8) (9 10) (11)))))) =>((1 2) (5 6) (1 2) (5 6) (9 10))
Create an account or sign in to comment