Commit a0eaff5 1 parent ee24d43 commit a0eaff5 Copy full SHA for a0eaff5
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1335
1335
(/ (has :title " Reduce" )
1336
1336
(lateral (lambda (operand)
1337
1337
(values ` (operate-reducing , operand index-origin t )
1338
- ' (:axis ))
1338
+ ' (:axis ))
1339
1339
; ; (values `(op-compose 'vacomp-reduce :left (sub-lex ,operand)
1340
1340
; ; :index-origin index-origin)
1341
1341
; ; '(:axis))
1393
1393
(is " +⍀[2]3 4⍴⍳12" # 2 A ((1 3 6 10 ) (5 11 18 26 ) (9 19 30 42 )))))
1394
1394
(\¨ (has :title " Each" )
1395
1395
(lateral (lambda (operand)
1396
- ; ; (april (with (:space array-lib-space) (:unrendere)) "↓disp 1 0 1 /sam⊢{⊂'---'}¨ vex")
1397
- ; ; `(operate-each ,operand) ; "bla←{ ⍺[0] } ⋄ {⎕io←0 ⋄ {⍵∘bla¨⊂0 1} ⎕←⍵} 3 4"
1398
- ` (op-compose ' vacomp-each :left (sub-lex , operand))
1396
+ ` (operate-each , operand) ; "bla←{ ⍺[0] } ⋄ {⎕io←0 ⋄ {⍵∘bla¨⊂0 1} ⎕←⍵} 3 4"
1397
+ ; ; `(op-compose 'vacomp-each :left (sub-lex ,operand))
1399
1398
))
1400
1399
(tests (is " ⍳¨1 2 3" # (# (1 ) # (1 2 ) # (1 2 3 )))
1401
1400
(is " ⊃¨↓⍳5" 1 )
You can’t perform that action at this time.
0 commit comments