blob: 6d65374ca55dd9f018abdfcdef635a34864d15e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#N canvas 652 370 833 496 10;
#X msg 103 315 anything works too;
#X msg 91 288 symbol test;
#X obj 62 27 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
0;
#X text 67 77 author: mrtoftrash@gmail.com;
#X obj 100 392 tof/listUnfold;
#X obj 464 388 tof/listUnfold wait;
#X obj 493 339 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 67 66 tags: lists;
#X obj 100 418 print ATOM;
#X obj 181 419 print INDEX;
#X obj 464 414 print ATOM;
#X obj 575 411 print INDEX;
#X msg 60 259 list a b c d e f g;
#X msg 464 312 list m n o p q r s t u v;
#X text 468 293 step 1: add list;
#X text 513 337 step 2: bang to output each element;
#X obj 122 343 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 147 342 bang to interrupt output;
#X text 52 206 listUnfold has two modes:;
#X text 68 27 description: output the individual elements of a list
and their indices \, either immediately or on bangs.;
#X text 67 88 version: 2009-10-06 (added the second mode);
#X text 56 229 default mode: output everything once it is received.
;
#X text 428 226 "wait" or "manually" mode: output one element for every
bang .;
#X obj 61 133 cnv 15 400 30 empty empty empty 20 12 0 14 -261234 -66577
0;
#X text 69 139 listUnfold is deprecated. Please use list_unfold instead.
;
#X connect 0 0 4 0;
#X connect 1 0 4 0;
#X connect 4 0 8 0;
#X connect 4 1 9 0;
#X connect 5 0 10 0;
#X connect 5 1 11 0;
#X connect 6 0 5 0;
#X connect 12 0 4 0;
#X connect 13 0 5 0;
#X connect 16 0 4 0;
|