#N canvas 272 125 614 647 10;
#X obj 159 205 list-pad;
#X obj 159 285 list trim;
#X obj 159 263 list prepend set;
#X msg 62 169 bang;
#X msg 270 205 a b c d e f;
#X msg 159 171 1 2 3;
#X msg 227 172 1 2 3 4 5 6 7 8 9;
#X text 111 367 Using an idiom by Michal Seta;
#X obj 50 29 list-pad;
#X msg 125 171 1;
#X text 106 418 The pad values can also be computed on demand:;
#X obj 125 471 list-pad;
#X obj 250 471 list-random 100 8;
#X obj 125 523 list trim;
#X obj 125 501 list prepend set;
#X obj 250 523 list trim;
#X obj 250 501 list prepend set;
#X msg 125 448 a b c d;
#X msg 159 330;
#X msg 125 568;
#X msg 250 568;
#X text 373 208 <= pad values;
#X text 97 53 Use [list-pad] when you want to complete a list with
more values \, if the incoming list is too short. Longer lists get
passed unchanged.;
#X text 100 105 The list of padding values is provided by a message
or [list] cross connected to the rightmost in- and outlets as in the
example.;
#X connect 0 0 2 0;
#X connect 0 1 4 0;
#X connect 1 0 18 0;
#X connect 2 0 1 0;
#X connect 3 0 0 0;
#X connect 4 0 0 1;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 9 0 0 0;
#X connect 11 0 14 0;
#X connect 11 1 12 0;
#X connect 12 0 11 1;
#X connect 12 0 16 0;
#X connect 13 0 19 0;
#X connect 14 0 13 0;
#X connect 15 0 20 0;
#X connect 16 0 15 0;
#X connect 17 0 11 0;
