copy # 0 1 3 2 # 1 2 3 4 2 3 3 3 4 4 1 0 1 # 3 4 $ i. 12 0 1 2 3 8 9 10 11 1 0 1 # i. 3 4 0 1 2 3 8 9 10 11 i. 3 4 5 0 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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 2 # 1 2 3 4 1 1 2 2 3 3 4 4 2 + 1 2 3 4 3 4 5 6 1 2 # 1 2 3 4 |length error: lecture | 1 2 #1 2 3 4 |[-7] history-20080916 # 3 4 $ i. 12 3 txt =:'Now is the time to do the work' (' ' ~:txt)#txt Nowisthetimetodothework ls =: 2 _10 3 _100 (ls >: 0)#ls 2 3 foo =: 3 4 $ i. 12 foo 0 1 2 3 4 5 6 7 8 9 10 11 $foo 3 4 #$foo 2 s =: $foo #$s 1 w |value error: w |[-19] history-20080916 s 3 4 foo 0 1 2 3 4 5 6 7 8 9 10 11 +/ "0 foo 0 1 2 3 4 5 6 7 8 9 10 11 +/ "1 foo 6 22 38 +/ "2 foo 12 15 18 21 +/ foo 12 15 18 21 3 ( 3:'x+y') 4 |syntax error | 3(3:'x+y')4 |[-26] history-20080916 3 monad def 'x+y' 4 |domain error | 3 monad def'x+y'4 |[-27] history-20080916 3 ( 4:'x+y') 4 |syntax error | 3(4:'x+y')4 |[-28] history-20080916 dyad 4 3 dyad def 'x+y' 4 7 dyad def 'x+y' 4 : 'x+y' 3 ( 4 :'x+y') 4 7 4: 39 4 4: foo 4 {. foo 0 1 2 3 }. foo 4 5 6 7 8 9 10 11 foo 0 1 2 3 4 5 6 7 8 9 10 11 txt Now is the time to do the work txt i. |syntax error | txt i. |[-39] history-20080916 txt i.' ' 3 (' '=txt)#i.$txt 3 6 10 15 18 21 25 txt Now is the time to do the work $txt 30 i.$txt 0 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 (' '=txt) 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 -. 0 1 1 0 0 1 +. / 0 1 0 1 1 1 0 1 *./ 0 1 0 0 0 1 0 1 ~: / 0 1 0 1 1 0 0 1 0: / 0 1 0 0 1 (0: /) 0 1 0 txt Now is the time to do the work ;/ txt +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |N|o|w| |i|s| |t|h|e| |t|i|m|e| |t|o| |d|o| |t|h|e| |w|o|r|k| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 'hi' ; 'there'; i. 10 +--+-----+-------------------+ |hi|there|0 1 2 3 4 5 6 7 8 9| +--+-----+-------------------+