hi
quick question: how could i chip away the 1st 2 elements from an arbitrarily long list?
-- x D U . O r G
hi,
no idea how to do that right, but it might be somehow done using 'substitute' from the cyclone library. In the example, only the first item (i.e. selector of ``any message'' or 1st atom of a list) is removed (easy to generalize).
Krzysztof
d_jj wrote: ...
how could i chip away the 1st 2 elements from an arbitrarily long list?
#N canvas 329 146 359 309 12; #X obj 44 171 substitute; #X obj 44 97 t a a; #X msg 165 135 $1 cat; #X obj 44 205 route cat; #X obj 44 135 route list; #X obj 44 240 print; #X obj 44 65 prepend list; #X msg 44 27 1 2 3; #X msg 121 27 mouse with a long tail; #X connect 0 0 3 0; #X connect 1 0 4 0; #X connect 1 1 2 0; #X connect 2 0 0 1; #X connect 3 0 5 0; #X connect 4 0 0 0; #X connect 6 0 1 0; #X connect 7 0 6 0; #X connect 8 0 6 0;