o_e Posted February 17, 2021 Share Posted February 17, 2021 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 Quote Link to comment Share on other sites More sharing options...
opmo Posted February 17, 2021 Share Posted February 17, 2021 It flatten the lists after I added the events here. Will add a condition to fix this. Quote Link to comment Share on other sites More sharing options...
o_e Posted February 17, 2021 Author Share Posted February 17, 2021 Thanks! Do you can propose a workaround until the next update, by chance? Quote Link to comment Share on other sites More sharing options...
o_e Posted February 17, 2021 Author Share Posted February 17, 2021 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)) Quote Link to comment Share on other sites More sharing options...
opmo Posted February 18, 2021 Share Posted February 18, 2021 Fixed in 2.1.26237 o_e 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.